Merge branch 'org.openembedded.dev' of git://git.openembedded.net/openembedded into...
[vuplus_openembedded] / packages / linux-libc-headers / linux-libc-headers-2.6.12.0 / linux-libc-headers-2.6.12.0-mips_atomic_fix-1.patch
1 Submitted By: Jim Gifford (patches at jg555 dot com)
2 Date: 2005-10-01
3 Initial Package Version: 2.6.12.0
4 Origin: Jim Gifford
5 Upstream Status: Sent
6 Description: Fixes Compile Issue with Sysklogd
7  
8 diff -Naur linux-libc-headers-2.6.12.0.orig/include/asm-mips/atomic.h linux-libc-headers-2.6.12.0/include/asm-mips/atomic.h
9 --- linux-libc-headers-2.6.12.0.orig/include/asm-mips/atomic.h  2005-07-06 00:17:30.000000000 +0000
10 +++ linux-libc-headers-2.6.12.0/include/asm-mips/atomic.h       2005-10-01 22:04:26.000000000 +0000
11 @@ -18,7 +18,7 @@
12  typedef struct { volatile int counter; } atomic_t;
13  
14  #ifdef __mips64
15 -typedef struct { volatile __s64 counter; } atomic64_t;
16 +typedef struct { volatile long counter; } atomic64_t;
17  #endif
18  
19  #endif /* _ASM_ATOMIC_H */