source: scripts/patches/linux-2.6.6-x86_64-unistd_h-fix.patch@ 929aaed

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 929aaed 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
  • include/asm-x86_64/unistd.h

    Submitted by: Ryan Oliver <ryan.oliver@pha.com.au>
    Date: 2004-05-10
    Initial Package Version: 2.6.4
    Origin: http://www.x86-64.org/lists/discuss/msg04963.html
    Description: Fixes issues with glibc compilation for x86_64
                 due to changes made in asm-x86_64/unistd.h between 
                 kernel 2.6.3 and 2.6.4, for full description check
                 the URL listed above.
                 Patch here taken against linux-2.6.6
    
    old new  
    731731
    732732#endif /* __KERNEL_SYSCALLS__ */
    733733
    734 #ifndef __ASSEMBLY__
     734#if ((!defined  __ASSEMBLY__) && (defined __KERNEL__))
    735735
    736736#include <linux/linkage.h>
    737737#include <linux/compiler.h>
     
    748748                                struct sigaction __user *oact,
    749749                                size_t sigsetsize);
    750750
    751 #endif  /* __ASSEMBLY__ */
     751#endif  /* ((!defined __ASSEMBLY__) && (defined __KERNEL__) */
    752752
    753753#endif /* __NO_STUBS */
    754754
Note: See TracBrowser for help on using the repository browser.