implement get_cpu_clock() for s390/s390x
[fio.git] / arch / arch-ia64.h
index f4464c48b2fa146b6386d8c49cab5179f7484692..2df55ba4846c838872f1a277da7404abec86b9df 100644 (file)
@@ -42,6 +42,14 @@ 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;
+       return 0;
+}
+
 #define ARCH_HAVE_FFZ
 #define ARCH_HAVE_CPU_CLOCK