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

clfs-1.2clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since a7d67ca was 7f65c0e, checked in by Jim Gifford <clfs@…>, 18 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.