PATCH 2.4.4-pre2: fix build...
Some uniprocessor configurations require the following patch in order to build 2.4.4-pre2 at all...
Signature · 3 lines
Jeff Garzik | Sam: "Mind if I drive?" Building 1024 | Max: "Not if you don't mind me clawing at the dash MandrakeSoft | and shrieking like a cheerleader."
Index: include/asm-i386/rwsem.h
===================================================================
RCS file: /cvsroot/gkernel/linux_2_4/include/asm-i386/rwsem.h,v retrieving revision 1.1.1.1
asm-i386/rwsem.h +2 -2
@@ -15,10 +15,10 @@#ifdef __KERNEL__ +#include <linux/wait.h> +#include <linux/spinlock.h> #include <asm/system.h> #include <asm/atomic.h> -#include <asm/spinlock.h> -#include <linux/wait.h> #if RWSEM_DEBUG #define rwsemdebug (FMT ,...) do { if (sem->debug) printk(FMT,__VA_ARGS__); } while(0)