diff options
Diffstat (limited to 'arch/ppc64/kernel/time.c')
-rw-r--r-- | arch/ppc64/kernel/time.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/arch/ppc64/kernel/time.c b/arch/ppc64/kernel/time.c index 2348a75e050d..909462e1adea 100644 --- a/arch/ppc64/kernel/time.c +++ b/arch/ppc64/kernel/time.c | |||
@@ -91,6 +91,7 @@ unsigned long tb_to_xs; | |||
91 | unsigned tb_to_us; | 91 | unsigned tb_to_us; |
92 | unsigned long processor_freq; | 92 | unsigned long processor_freq; |
93 | DEFINE_SPINLOCK(rtc_lock); | 93 | DEFINE_SPINLOCK(rtc_lock); |
94 | EXPORT_SYMBOL_GPL(rtc_lock); | ||
94 | 95 | ||
95 | unsigned long tb_to_ns_scale; | 96 | unsigned long tb_to_ns_scale; |
96 | unsigned long tb_to_ns_shift; | 97 | unsigned long tb_to_ns_shift; |
@@ -98,7 +99,6 @@ unsigned long tb_to_ns_shift; | |||
98 | struct gettimeofday_struct do_gtod; | 99 | struct gettimeofday_struct do_gtod; |
99 | 100 | ||
100 | extern unsigned long wall_jiffies; | 101 | extern unsigned long wall_jiffies; |
101 | extern unsigned long lpevent_count; | ||
102 | extern int smp_tb_synchronized; | 102 | extern int smp_tb_synchronized; |
103 | 103 | ||
104 | extern struct timezone sys_tz; | 104 | extern struct timezone sys_tz; |
@@ -366,11 +366,8 @@ int timer_interrupt(struct pt_regs * regs) | |||
366 | set_dec(next_dec); | 366 | set_dec(next_dec); |
367 | 367 | ||
368 | #ifdef CONFIG_PPC_ISERIES | 368 | #ifdef CONFIG_PPC_ISERIES |
369 | { | 369 | if (hvlpevent_is_pending()) |
370 | struct ItLpQueue *lpq = lpaca->lpqueue_ptr; | 370 | process_hvlpevents(regs); |
371 | if (lpq && ItLpQueue_isLpIntPending(lpq)) | ||
372 | lpevent_count += ItLpQueue_process(lpq, regs); | ||
373 | } | ||
374 | #endif | 371 | #endif |
375 | 372 | ||
376 | /* collect purr register values often, for accurate calculations */ | 373 | /* collect purr register values often, for accurate calculations */ |