aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ppc64/kernel/time.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ppc64/kernel/time.c')
-rw-r--r--arch/ppc64/kernel/time.c9
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;
91unsigned tb_to_us; 91unsigned tb_to_us;
92unsigned long processor_freq; 92unsigned long processor_freq;
93DEFINE_SPINLOCK(rtc_lock); 93DEFINE_SPINLOCK(rtc_lock);
94EXPORT_SYMBOL_GPL(rtc_lock);
94 95
95unsigned long tb_to_ns_scale; 96unsigned long tb_to_ns_scale;
96unsigned long tb_to_ns_shift; 97unsigned long tb_to_ns_shift;
@@ -98,7 +99,6 @@ unsigned long tb_to_ns_shift;
98struct gettimeofday_struct do_gtod; 99struct gettimeofday_struct do_gtod;
99 100
100extern unsigned long wall_jiffies; 101extern unsigned long wall_jiffies;
101extern unsigned long lpevent_count;
102extern int smp_tb_synchronized; 102extern int smp_tb_synchronized;
103 103
104extern struct timezone sys_tz; 104extern 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 */