diff options
Diffstat (limited to 'arch/x86/kernel/tsc.c')
-rw-r--r-- | arch/x86/kernel/tsc.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/x86/kernel/tsc.c b/arch/x86/kernel/tsc.c index cfa5d4f7ca56..06ccb5073a3f 100644 --- a/arch/x86/kernel/tsc.c +++ b/arch/x86/kernel/tsc.c | |||
@@ -77,6 +77,12 @@ unsigned long long | |||
77 | sched_clock(void) __attribute__((alias("native_sched_clock"))); | 77 | sched_clock(void) __attribute__((alias("native_sched_clock"))); |
78 | #endif | 78 | #endif |
79 | 79 | ||
80 | unsigned long long native_read_tsc(void) | ||
81 | { | ||
82 | return __native_read_tsc(); | ||
83 | } | ||
84 | EXPORT_SYMBOL(native_read_tsc); | ||
85 | |||
80 | int check_tsc_unstable(void) | 86 | int check_tsc_unstable(void) |
81 | { | 87 | { |
82 | return tsc_unstable; | 88 | return tsc_unstable; |