diff options
Diffstat (limited to 'arch/x86/include/asm/tsc.h')
| -rw-r--r-- | arch/x86/include/asm/tsc.h | 12 | 
1 files changed, 9 insertions, 3 deletions
diff --git a/arch/x86/include/asm/tsc.h b/arch/x86/include/asm/tsc.h index 1ca132fc0d0..94605c0e9ce 100644 --- a/arch/x86/include/asm/tsc.h +++ b/arch/x86/include/asm/tsc.h @@ -35,7 +35,7 @@ static inline cycles_t get_cycles(void)  static __always_inline cycles_t vget_cycles(void)  {  	/* -	 * We only do VDSOs on TSC capable CPUs, so this shouldnt +	 * We only do VDSOs on TSC capable CPUs, so this shouldn't  	 * access boot_cpu_data (which is not VDSO-safe):  	 */  #ifndef CONFIG_X86_TSC @@ -49,8 +49,11 @@ extern void tsc_init(void);  extern void mark_tsc_unstable(char *reason);  extern int unsynchronized_tsc(void);  extern int check_tsc_unstable(void); +extern int check_tsc_disabled(void);  extern unsigned long native_calibrate_tsc(void); +extern int tsc_clocksource_reliable; +  /*   * Boot-time check whether the TSCs are synchronized across   * all CPUs/cores: @@ -59,7 +62,10 @@ extern void check_tsc_sync_source(int cpu);  extern void check_tsc_sync_target(void);  extern int notsc_setup(char *); -extern void save_sched_clock_state(void); -extern void restore_sched_clock_state(void); +extern void tsc_save_sched_clock_state(void); +extern void tsc_restore_sched_clock_state(void); + +/* MSR based TSC calibration for Intel Atom SoC platforms */ +unsigned long try_msr_calibrate_tsc(void);  #endif /* _ASM_X86_TSC_H */  | 
