arch: tsc_reliable can be a bool
[fio.git] / arch / arch-ppc.h
index 161c39c511937c9a0d4604a69fa3f63da1825f26..ba452b15b1fff30e92e62820b1301ab42cf100ed 100644 (file)
@@ -8,21 +8,6 @@
 
 #define FIO_ARCH       (arch_ppc)
 
-#ifndef __NR_ioprio_set
-#define __NR_ioprio_set                273
-#define __NR_ioprio_get                274
-#endif
-
-#ifndef __NR_fadvise64
-#define __NR_fadvise64         233
-#endif
-
-#ifndef __NR_sys_splice
-#define __NR_sys_splice                283
-#define __NR_sys_tee           284
-#define __NR_sys_vmsplice      285
-#endif
-
 #define nop    do { } while (0)
 
 #ifdef __powerpc64__
@@ -132,12 +117,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;