ia64/xen-unstable

changeset 2583:f64b48547d69

bitkeeper revision 1.1159.1.197 (415d7115-5qi0fn3DgrhaAt6mCUClQ)

Run timer interrupt code when we catch up on lost interrupts.
author cl349@freefall.cl.cam.ac.uk
date Fri Oct 01 15:00:37 2004 +0000 (2004-10-01)
parents 86f3590030af
children 9d1a7223d45e 23bc5e8a9321
files linux-2.6.8.1-xen-sparse/arch/xen/i386/kernel/time.c
line diff
     1.1 --- a/linux-2.6.8.1-xen-sparse/arch/xen/i386/kernel/time.c	Fri Oct 01 10:06:56 2004 +0000
     1.2 +++ b/linux-2.6.8.1-xen-sparse/arch/xen/i386/kernel/time.c	Fri Oct 01 15:00:37 2004 +0000
     1.3 @@ -364,7 +364,6 @@ static inline void do_timer_interrupt(in
     1.4  					struct pt_regs *regs)
     1.5  {
     1.6  	s64 delta;
     1.7 -	unsigned int ticks = 0;
     1.8  	long sec_diff;
     1.9  
    1.10  	__get_time_values_from_xen();
    1.11 @@ -379,14 +378,9 @@ static inline void do_timer_interrupt(in
    1.12  
    1.13  	/* Process elapsed jiffies since last call. */
    1.14  	while (delta >= NS_PER_TICK) {
    1.15 -		ticks++;
    1.16  		delta -= NS_PER_TICK;
    1.17  		processed_system_time += NS_PER_TICK;
    1.18 -	}
    1.19 -
    1.20 -	if (ticks != 0) {
    1.21 -		jiffies_64 += ticks - 1;
    1.22 -		do_timer_interrupt_hook(regs); /* implicit 'jiffies_64++' */
    1.23 +		do_timer_interrupt_hook(regs);
    1.24  	}
    1.25  
    1.26  	/*