source: patches/linux-2.6.6-x86_64-unistd_h-fix.patch@ 873009c

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 873009c was 617118d, checked in by Jim Gifford <clfs@…>, 19 years ago

r561@server (orig r559): root | 2005-06-05 02:38:49 -0700
Fixed Directory Structure

  • 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.