extern struct timeval xtime; /* linux/sched.h */
volatile struct timeval xtime; /* kernel/timer.c */
is incorrect - which is probably correct idea. So please apply
following patch. As 'jiffies' variable uses extern + volatile,
there is already precedent for doing this. Patch was generated
from 2.4.5-ac13.
Thanks,
Petr Vandrovec
vandrove@vc.cvut.cz
diff -urdN linux/include/linux/sched.h linux/include/linux/sched.h
--- linux/include/linux/sched.h Mon Jun 11 19:41:46 2001
+++ linux/include/linux/sched.h Mon Jun 11 20:20:35 2001
@@ -539,7 +539,7 @@
extern unsigned long volatile jiffies;
extern unsigned long itimer_ticks;
extern unsigned long itimer_next;
-extern struct timeval xtime;
+extern volatile struct timeval xtime;
extern void do_timer(struct pt_regs *);
extern unsigned int * prof_buffer;
-
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/