diff options
Diffstat (limited to 'arch/i386/kernel/tsc.c')
-rw-r--r-- | arch/i386/kernel/tsc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/i386/kernel/tsc.c b/arch/i386/kernel/tsc.c index 252f9010f283..debd7dbb4158 100644 --- a/arch/i386/kernel/tsc.c +++ b/arch/i386/kernel/tsc.c | |||
@@ -27,6 +27,7 @@ static int tsc_enabled; | |||
27 | * an extra value to store the TSC freq | 27 | * an extra value to store the TSC freq |
28 | */ | 28 | */ |
29 | unsigned int tsc_khz; | 29 | unsigned int tsc_khz; |
30 | EXPORT_SYMBOL_GPL(tsc_khz); | ||
30 | 31 | ||
31 | int tsc_disable; | 32 | int tsc_disable; |
32 | 33 | ||
@@ -58,10 +59,11 @@ __setup("notsc", tsc_setup); | |||
58 | */ | 59 | */ |
59 | static int tsc_unstable; | 60 | static int tsc_unstable; |
60 | 61 | ||
61 | static inline int check_tsc_unstable(void) | 62 | int check_tsc_unstable(void) |
62 | { | 63 | { |
63 | return tsc_unstable; | 64 | return tsc_unstable; |
64 | } | 65 | } |
66 | EXPORT_SYMBOL_GPL(check_tsc_unstable); | ||
65 | 67 | ||
66 | /* Accellerators for sched_clock() | 68 | /* Accellerators for sched_clock() |
67 | * convert from cycles(64bits) => nanoseconds (64bits) | 69 | * convert from cycles(64bits) => nanoseconds (64bits) |