diff mbox

[parisc] timer_interrupt: Fix "SLOW!" warning on rp3440

Message ID 20110312170831.GA15698@hiauly1.hia.nrc.ca (mailing list archive)
State Rejected
Headers show

Commit Message

John David Anglin March 12, 2011, 5:08 p.m. UTC
None
diff mbox

Patch

diff --git a/arch/parisc/kernel/time.c b/arch/parisc/kernel/time.c
index 05511cc..63071c4 100644
--- a/arch/parisc/kernel/time.c
+++ b/arch/parisc/kernel/time.c
@@ -76,7 +76,7 @@  irqreturn_t __irq_entry timer_interrupt(int irq, void *dev_id)
 
 	cycles_elapsed = now - next_tick;
 
-	if ((cycles_elapsed >> 6) < cpt) {
+	if ((cycles_elapsed >> 7) < cpt) {
 		/* use "cheap" math (add/subtract) instead
 		 * of the more expensive div/mul method
 		 */