projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Define TSC arch_init() for PPC and IA64
[fio.git]
/
arch
/
arch-ia64.h
diff --git
a/arch/arch-ia64.h
b/arch/arch-ia64.h
index f4464c48b2fa146b6386d8c49cab5179f7484692..8ccbd865e01513eeaf7ace812a58d5ca8ea7245c 100644
(file)
--- a/
arch/arch-ia64.h
+++ b/
arch/arch-ia64.h
@@
-42,6
+42,13
@@
static inline unsigned long get_cpu_clock(void)
return ret;
}
+#define ARCH_HAVE_INIT
+extern int tsc_reliable;
+static inline int arch_init(char *envp[])
+{
+ tsc_reliable = 1;
+}
+
#define ARCH_HAVE_FFZ
#define ARCH_HAVE_CPU_CLOCK