source: patches/linux-libc-headers-2.6.12.0-mips_atomic_fix-1.patch@ e7a7a6f

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since e7a7a6f was 69cde8d, checked in by Jim Gifford <clfs@…>, 18 years ago

Added: All patches needed for the book.

  • Property mode set to 100644
File size: 750 bytes
RevLine 
[69cde8d]1Submitted By: Jim Gifford (patches at jg555 dot com)
2Date: 2005-10-01
3Initial Package Version: 2.6.12.0
4Origin: Jim Gifford
5Upstream Status: Sent
6Description: Fixes Compile Issue with Sysklogd
7
8diff -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 */
Note: See TracBrowser for help on using the repository browser.