X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;ds=sidebyside;f=arch%2Farch-ppc.h;h=d4a080c4e91f31050404cab8c61b6d23bbe7f371;hb=b508476f1e1cac8c3c3e03d6fd16479c0c476250;hp=65e6b74acfba431158e07898398312a01a707a3e;hpb=f2dc46ad091681a0746aacef900d3974f05d9fc9;p=fio.git diff --git a/arch/arch-ppc.h b/arch/arch-ppc.h index 65e6b74a..d4a080c4 100644 --- a/arch/arch-ppc.h +++ b/arch/arch-ppc.h @@ -1,5 +1,5 @@ #ifndef ARCH_PPC_H -#define ARCH_PPH_H +#define ARCH_PPC_H #include #include @@ -82,6 +82,7 @@ static inline unsigned long long get_cpu_clock(void) return ret; } +#if 0 static void atb_child(void) { arch_flags |= ARCH_FLAG_1; @@ -106,18 +107,27 @@ static void atb_clocktest(void) arch_flags |= ARCH_FLAG_1; } } +#endif #define ARCH_HAVE_INIT extern int tsc_reliable; static inline int arch_init(char *envp[]) { +#if 0 tsc_reliable = 1; atb_clocktest(); +#endif return 0; } #define ARCH_HAVE_FFZ -#define ARCH_HAVE_CPU_CLOCK + +/* + * We don't have it on all platforms, lets comment this out until we + * can handle it more intelligently. + * + * #define ARCH_HAVE_CPU_CLOCK + */ #endif