[FIX] fs/proc/array.c gcc 2.96 compiler bug

From: Shane Shrybman
Date: Sat Oct 18 2003 - 17:16:02 EST


Workaround for a gcc 2.96 (at least) compiler bug.

--- linux-2.6.0-test8/fs/proc/array.c.orig Sat Oct 18 17:30:54 2003
+++ linux-2.6.0-test8/fs/proc/array.c Sat Oct 18 17:52:09 2003
@@ -295,7 +295,8 @@
{
unsigned long vsize, eip, esp, wchan;
long priority, nice;
- int tty_pgrp = -1, tty_nr = 0;
+ int tty_pgrp = -1;
+ volatile int tty_nr = 0;
sigset_t sigign, sigcatch;
char state;
int res;

Regards,

shane

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