Re: [ANNOUNCE] 2.4.18-pre8-mjc

From: Thibaut Laurent (thibaut@celestix.com)
Date: Thu Feb 07 2002 - 10:56:03 EST


On 07 Feb 2002 04:17:54 -0500
Michael Cohen <lkml@ohdarn.net> wrote:

 | Volatile xtime (MV)

The change in include/sched.h seems to miss its counter-part in kernel/timer.c, hence a type mismatch leading to a compilation failure.

--- linux/kernel/timer.c Thu Feb 7 23:44:00 2002
+++ linux/kernel/timer.c~ Thu Feb 7 23:27:47 2002
@@ -34,7 +34,7 @@
 long tick = (1000000 + HZ/2) / HZ; /* timer interrupt period */
 
 /* The current time */
-struct timeval xtime __attribute__ ((aligned (16)));
+volatile struct timeval xtime __attribute__ ((aligned (16)));
 
 /* Don't completely fail for HZ > 500. */
 int tickadj = 500/HZ ? : 1; /* microsecs */

Regards,
Thibaut

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Feb 07 2002 - 21:01:03 EST