* [PATCH] Debian's gcc-3.0-20010609 refuses to compile kernel :-(
@ 2001-06-11 20:42 Petr Vandrovec
0 siblings, 0 replies; only message in thread
From: Petr Vandrovec @ 2001-06-11 20:42 UTC (permalink / raw)
To: alan; +Cc: linux-kernel
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.
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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-06-11 20:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-11 20:42 [PATCH] Debian's gcc-3.0-20010609 refuses to compile kernel :-( Petr Vandrovec
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).