diff options
Diffstat (limited to 'arch/ia64/kernel/time.c')
-rw-r--r-- | arch/ia64/kernel/time.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/ia64/kernel/time.c b/arch/ia64/kernel/time.c index f0ebb342409d..c323c7b9c775 100644 --- a/arch/ia64/kernel/time.c +++ b/arch/ia64/kernel/time.c | |||
@@ -50,6 +50,15 @@ EXPORT_SYMBOL(last_cli_ip); | |||
50 | #endif | 50 | #endif |
51 | 51 | ||
52 | #ifdef CONFIG_PARAVIRT | 52 | #ifdef CONFIG_PARAVIRT |
53 | /* We need to define a real function for sched_clock, to override the | ||
54 | weak default version */ | ||
55 | unsigned long long sched_clock(void) | ||
56 | { | ||
57 | return paravirt_sched_clock(); | ||
58 | } | ||
59 | #endif | ||
60 | |||
61 | #ifdef CONFIG_PARAVIRT | ||
53 | static void | 62 | static void |
54 | paravirt_clocksource_resume(void) | 63 | paravirt_clocksource_resume(void) |
55 | { | 64 | { |