From: Thomas Gleixner Date: Wed, 30 Jan 2008 12:30:18 +0000 (+0100) Subject: x86: move tsc related declarations X-Git-Tag: v2.6.25-rc1~1143^2~822 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=80ca9c98f50c11b63b87971594d7e38cba0bbcef;p=~emulex%2Finfiniband.git x86: move tsc related declarations tsc has also it's own header file. Nuke the stupid 64 bit ifdef while at it. Signed-off-by: Thomas Gleixner Signed-off-by: Ingo Molnar --- diff --git a/include/asm-x86/proto.h b/include/asm-x86/proto.h index 8ed1ebf666b..a47e526716f 100644 --- a/include/asm-x86/proto.h +++ b/include/asm-x86/proto.h @@ -51,11 +51,8 @@ extern void check_efer(void); extern unsigned long table_start, table_end; extern int exception_trace; -extern unsigned cpu_khz; -extern unsigned tsc_khz; extern int reboot_force; -extern int notsc_setup(char *); extern int gsi_irq_sharing(int gsi); diff --git a/include/asm-x86/tsc.h b/include/asm-x86/tsc.h index 6baab30dc2c..d7b1c4e7a10 100644 --- a/include/asm-x86/tsc.h +++ b/include/asm-x86/tsc.h @@ -73,8 +73,7 @@ int check_tsc_unstable(void); extern void check_tsc_sync_source(int cpu); extern void check_tsc_sync_target(void); -#ifdef CONFIG_X86_64 extern void tsc_calibrate(void); -#endif +extern int notsc_setup(char *); #endif