]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/x86/include/asm/tsc.h
Merge remote-tracking branch 'asoc/topic/dmaengine' into asoc-next
[karo-tx-linux.git] / arch / x86 / include / asm / tsc.h
index 04721d54d8d9ea1a7f34d61afdf0bfc00815ae14..f5e6f1c417df8724ad1f851f20259b75ecfc875f 100644 (file)
@@ -29,7 +29,7 @@ static inline cycles_t get_cycles(void)
        return rdtsc();
 }
 
-extern struct system_counterval_t convert_art_to_tsc(cycle_t art);
+extern struct system_counterval_t convert_art_to_tsc(u64 art);
 
 extern void tsc_init(void);
 extern void mark_tsc_unstable(char *reason);
@@ -45,15 +45,16 @@ extern int tsc_clocksource_reliable;
  * Boot-time check whether the TSCs are synchronized across
  * all CPUs/cores:
  */
+#ifdef CONFIG_X86_TSC
+extern bool tsc_store_and_check_tsc_adjust(bool bootcpu);
+extern void tsc_verify_tsc_adjust(bool resume);
 extern void check_tsc_sync_source(int cpu);
 extern void check_tsc_sync_target(void);
-
-#ifdef CONFIG_X86_TSC
-extern bool tsc_store_and_check_tsc_adjust(void);
-extern void tsc_verify_tsc_adjust(void);
 #else
-static inline bool tsc_store_and_check_tsc_adjust(void) { }
-static inline void tsc_verify_tsc_adjust(void) { }
+static inline bool tsc_store_and_check_tsc_adjust(bool bootcpu) { return false; }
+static inline void tsc_verify_tsc_adjust(bool resume) { }
+static inline void check_tsc_sync_source(int cpu) { }
+static inline void check_tsc_sync_target(void) { }
 #endif
 
 extern int notsc_setup(char *);