source: scripts/patches/linux-2.6.6-x86_64-unistd_h-fix.patch@ 11fbfa9

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 11fbfa9 was 7f65c0e, checked in by Jim Gifford <clfs@…>, 19 years ago

r625@server (orig r623): jim | 2005-10-31 12:43:24 -0800
Final Move

  • Property mode set to 100644
File size: 994 bytes
RevLine 
[617118d]1Submitted by: Ryan Oliver <ryan.oliver@pha.com.au>
2Date: 2004-05-10
3Initial Package Version: 2.6.4
4Origin: http://www.x86-64.org/lists/discuss/msg04963.html
5Description: Fixes issues with glibc compilation for x86_64
6 due to changes made in asm-x86_64/unistd.h between
7 kernel 2.6.3 and 2.6.4, for full description check
8 the URL listed above.
9 Patch here taken against linux-2.6.6
10
11--- linux-2.6.6-ORIG/include/asm-x86_64/unistd.h 2004-05-10 13:32:17.000000000 +1000
12+++ linux-2.6.6/include/asm-x86_64/unistd.h 2004-05-10 13:38:43.000000000 +1000
13@@ -731,7 +731,7 @@
14
15 #endif /* __KERNEL_SYSCALLS__ */
16
17-#ifndef __ASSEMBLY__
18+#if ((!defined __ASSEMBLY__) && (defined __KERNEL__))
19
20 #include <linux/linkage.h>
21 #include <linux/compiler.h>
22@@ -748,7 +748,7 @@
23 struct sigaction __user *oact,
24 size_t sigsetsize);
25
26-#endif /* __ASSEMBLY__ */
27+#endif /* ((!defined __ASSEMBLY__) && (defined __KERNEL__) */
28
29 #endif /* __NO_STUBS */
30
Note: See TracBrowser for help on using the repository browser.