Re: Minor "cleanup" patches for 2.4.5-ac kernels

2001-06-12 Thread Jeff Garzik
Michal Jaegermann wrote: > --- linux-2.4.5ac/drivers/pci/quirks.c~ Tue Jun 12 16:31:12 2001 > +++ linux-2.4.5ac/drivers/pci/quirks.c Tue Jun 12 17:13:18 2001 > @@ -18,6 +18,7 @@ > #include > #include > #include > +#include > > #undef DEBUG > > There is no problem if SMP is not

Minor "cleanup" patches for 2.4.5-ac kernels

2001-06-12 Thread Michal Jaegermann
Here are some small, but in times important, "gotchas" in current 2.4.5-ac kernels. When compiling SMP 'udelay' in current drivers/pci/quirks.c expands to: __udelay((15), cpu_data[(current->processor)]... and a type for 'current' is not known, at least on alpha, so the following seems to be

Minor cleanup patches for 2.4.5-ac kernels

2001-06-12 Thread Michal Jaegermann
Here are some small, but in times important, gotchas in current 2.4.5-ac kernels. When compiling SMP 'udelay' in current drivers/pci/quirks.c expands to: __udelay((15), cpu_data[(current-processor)]... and a type for 'current' is not known, at least on alpha, so the following seems to be in

Re: Minor cleanup patches for 2.4.5-ac kernels

2001-06-12 Thread Jeff Garzik
Michal Jaegermann wrote: --- linux-2.4.5ac/drivers/pci/quirks.c~ Tue Jun 12 16:31:12 2001 +++ linux-2.4.5ac/drivers/pci/quirks.c Tue Jun 12 17:13:18 2001 @@ -18,6 +18,7 @@ #include linux/pci.h #include linux/init.h #include linux/delay.h +#include linux/sched.h #undef DEBUG