1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
--- utils/aperf.c.orig 2010-07-18 01:38:02.000000000 +0800 +++ utils/aperf.c 2010-07-18 01:38:39.000000000 +0800 @@ -68,11 +68,15 @@ static int cpu_has_effective_freq() { +#if defined(__i386__) || defined(__x86_64__) /* largest base level */ if (cpuid_eax(0) < 6) return 0; return cpuid_ecx(6) & 0x1; +#else + return 0; +#endif } /*