summaryrefslogtreecommitdiff
path: root/linux/nslu2-openslug-2.6.7/arm-timer.patch
blob: b36df4fe7c9fb576c390e3288e8f48cf026f7320 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- linux-2.6.7/arch/arm/mach-ixp4xx/common.c.orig	2004-09-26 15:32:52.000000000 -0400
+++ linux-2.6.7/arch/arm/mach-ixp4xx/common.c	2004-09-26 15:33:34.000000000 -0400
@@ -223,13 +223,7 @@ static irqreturn_t ixp4xx_timer_interrup
 	/* Clear Pending Interrupt by writing '1' to it */
 	*IXP4XX_OSST = IXP4XX_OSST_TIMER_1_PEND;
 
-	/*
-	 * Catch up with the real idea of time
-	 */
-	do {	
-		do_timer(regs);
-		last_jiffy_time += LATCH;
-	} while((*IXP4XX_OSTS - last_jiffy_time) > LATCH);
+	do_timer(regs);
 
 	return IRQ_HANDLED;
 }