client: cleanup output types
[fio.git] / arch / arch-ppc.h
index 4a8aa97c4d9dbc01bd427e6c49e10fefbe5c41ac..804d596aecc632cb27f547c90a5b2b997ef79b42 100644 (file)
@@ -62,7 +62,8 @@ static inline unsigned long long get_cpu_clock(void)
                "       cmpwi %0,0;\n"
                "       beq-  90b;\n"
        : "=r" (rval)
-       : "i" (SPRN_TBRL));
+       : "i" (SPRN_TBRL)
+       : "cr0");
 
        return rval;
 }
@@ -117,12 +118,12 @@ static void atb_clocktest(void)
 #endif
 
 #define ARCH_HAVE_INIT
-extern int tsc_reliable;
+extern bool tsc_reliable;
 
 static inline int arch_init(char *envp[])
 {
 #if 0
-       tsc_reliable = 1;
+       tsc_reliable = true;
        atb_clocktest();
 #endif
        return 0;