From: Adam H. <do...@br...> - 2004-10-01 17:26:21
|
yOn Fri, 1 Oct 2004, Ian Pratt wrote: > --- /usr/groups/xeno/BK/xeno.bk/linux-2.6.8.1-xen-sparse/arch/xen/i386/kernel/time.c 2004-10-01 16:01:03.000000000 +0100 > +++ arch/xen/i386/kernel/time.c 2004-10-01 16:10:06.000000000 +0100 > @@ -114,28 +114,34 @@ > > #define NS_PER_TICK (1000000000ULL/HZ) > > -#define HANDLE_USEC_UNDERFLOW(_tv) do { \ > +#define HANDLE_USEC_UNDERFLOW(_tv) do { int i=0; \ > while ((_tv).tv_usec < 0) { \ > (_tv).tv_usec += USEC_PER_SEC; \ > (_tv).tv_sec--; \ > - } \ > + }if(i>100)printk(KERN_ALERT"USEC_UNDER %d\n",i); \ > } while (0) How can i>100? i is never incremented. |