Re: Linux 2.4.3-ac5

From: Andrea Arcangeli (andrea@suse.de)
Date: Thu Apr 12 2001 - 18:47:11 EST


On Thu, Apr 12, 2001 at 07:17:26PM -0400, Greg Louis wrote:
> On 20010412 (Thu) at 1726:11 +0100, Alan Cox wrote:
> >
> > 2.4.3-ac5
>
> > o Fix rwsem compile problem (me)
>
> No such luck, I fear, at least not with egcs-2.91.66:
> /usr/src/linux-2.4.3ac5/include/asm/rwsem.h:26: badly punctuated
> parameter list in #define'
> /usr/src/linux-2.4.3ac5/include/asm/rwsem.h: In function 'down_read':
> /usr/src/linux-2.4.3ac5/include/asm/rwsem.h:52: warning: implicit
> declaration of function 'rwsemdebug'

I didn't checked ac5 but this is how I fixed the UP compile problem of 4pre2:

--- 2.4.4pre2aa/include/asm-i386/rwsem.h.~1~ Thu Apr 12 17:25:24 2001
+++ 2.4.4pre2aa/include/asm-i386/rwsem.h Thu Apr 12 17:38:10 2001
@@ -17,7 +17,7 @@
 
 #include <asm/system.h>
 #include <asm/atomic.h>
-#include <asm/spinlock.h>
+#include <linux/spinlock.h>
 #include <linux/wait.h>
 
 #if RWSEM_DEBUG

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



This archive was generated by hypermail 2b29 : Sun Apr 15 2001 - 21:00:20 EST