[lkml]   [2001]   [Jun]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Hi Alan,
latest gcc-3.0 snapshot in Debian just decided that:

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.
Petr Vandrovec

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
More majordomo info at
Please read the FAQ at
 \ /
  Last update: 2005-03-22 12:55    [W:0.022 / U:0.368 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site