projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ppc: disable CPU clock until we can detect whether we have it or not
[fio.git]
/
arch
/
arch-ppc.h
diff --git
a/arch/arch-ppc.h
b/arch/arch-ppc.h
index 65e6b74acfba431158e07898398312a01a707a3e..0f043bce5348731a6c5ec3775ded5b027aa715c4 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>
@@
-112,12
+112,20
@@
extern int tsc_reliable;
static inline int arch_init(char *envp[])
{
static inline int arch_init(char *envp[])
{
+#if 0
tsc_reliable = 1;
atb_clocktest();
tsc_reliable = 1;
atb_clocktest();
+#endif
return 0;
}
#define ARCH_HAVE_FFZ
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
#endif