Author: jim
Date: 2005-04-06 18:12:07 -0600 (Wed, 06 Apr 2005)
New Revision: 903
Added:
trunk/linux-libc-headers/linux-libc-headers-2.6.11.2-mips_fix-1.patch
Log:
Added: Mips Fix for sysklogd
Added: trunk/linux-libc-headers/linux-libc-headers-2.6.11.2-mips_fix-1.patch
===================================================================
--- trunk/linux-libc-headers/linux-libc-headers-2.6.11.2-mips_fix-1.patch
2005-04-02 04:33:25 UTC (rev 902)
+++ trunk/linux-libc-headers/linux-libc-headers-2.6.11.2-mips_fix-1.patch
2005-04-07 00:12:07 UTC (rev 903)
@@ -0,0 +1,21 @@
+Submitted By: Jim Gifford (patches at jg555 dot com)
+Date: 2005-04-06
+Initial Package Version: 2.6.11.2
+Origin: Jim Gifford
+Upstream Status: Accepted/Modified
+Description: Fixes compile issue with sysklogd and mips
+
+--- linux-libc-headers-2.6.11.2/include/asm-mips/atomic.h.orig 2005-03-31
03:17:19 +0000
++++ linux-libc-headers-2.6.11.2/include/asm-mips/atomic.h 2005-03-31
03:18:52 +0000
+@@ -14,8 +14,10 @@
+ #ifndef _ASM_ATOMIC_H
+ #define _ASM_ATOMIC_H
+
+-
+ typedef struct { volatile int counter; } atomic_t;
++
++#ifdef __mips64
+ typedef struct { volatile __s64 counter; } atomic64_t;
++#endif
+
+ #endif /* _ASM_ATOMIC_H */
--
http://linuxfromscratch.org/mailman/listinfo/patches
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page