projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fio: Eliminate compilation warning in ppc
[fio.git]
/
arch
/
arch-ppc.h
diff --git
a/arch/arch-ppc.h
b/arch/arch-ppc.h
index 6c1029c8f9e96e8f6a27f4996eb903635c28abf7..d4a080c4e91f31050404cab8c61b6d23bbe7f371 100644
(file)
--- a/
arch/arch-ppc.h
+++ b/
arch/arch-ppc.h
@@
-1,5
+1,5
@@
#ifndef ARCH_PPC_H
#ifndef ARCH_PPC_H
-#define ARCH_PP
H
_H
+#define ARCH_PP
C
_H
#include <unistd.h>
#include <stdlib.h>
#include <unistd.h>
#include <stdlib.h>
@@
-82,6
+82,7
@@
static inline unsigned long long get_cpu_clock(void)
return ret;
}
return ret;
}
+#if 0
static void atb_child(void)
{
arch_flags |= ARCH_FLAG_1;
static void atb_child(void)
{
arch_flags |= ARCH_FLAG_1;
@@
-106,14
+107,17
@@
static void atb_clocktest(void)
arch_flags |= ARCH_FLAG_1;
}
}
arch_flags |= ARCH_FLAG_1;
}
}
+#endif
#define ARCH_HAVE_INIT
extern int tsc_reliable;
static inline int arch_init(char *envp[])
{
#define ARCH_HAVE_INIT
extern int tsc_reliable;
static inline int arch_init(char *envp[])
{
+#if 0
tsc_reliable = 1;
atb_clocktest();
tsc_reliable = 1;
atb_clocktest();
+#endif
return 0;
}
return 0;
}