source: patches/linux-2.6.17.11-alpha_io_fix-1.patch@ 1b78045

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 1b78045 was 568625a, checked in by Jim Gifford <clfs@…>, 18 years ago

Linux patches updated to 2.6.17.11

  • Property mode set to 100644
File size: 1.2 KB
  • include/asm-alpha/compiler.h

    Submitted By: Joe Ciccone <jciccone@linuxfromscratch.org>
    Date: 2006-06-25
    Initial Package Version: 2.6.17.1
    Origin: Joe Ciccone
    Upstream Status: Unknown
    Description: Fixes a build issue with alpha on some processors. The
                 instructions being modified are specific to ev56/ev6.
    
    old new  
    7878#else
    7979#define __kernel_ldbu(mem)                              \
    8080  ({ unsigned char __kir;                               \
    81      __asm__("ldbu %0,%1" : "=r"(__kir) : "m"(mem));    \
     81     __asm__(".arch ev6; ldbu %0,%1" : "=r"(__kir) : "m"(mem)); \
    8282     __kir; })
    8383#define __kernel_ldwu(mem)                              \
    8484  ({ unsigned short __kir;                              \
    85      __asm__("ldwu %0,%1" : "=r"(__kir) : "m"(mem));    \
     85     __asm__(".arch ev6; ldwu %0,%1" : "=r"(__kir) : "m"(mem)); \
    8686     __kir; })
    8787#define __kernel_stb(val,mem) \
    88   __asm__("stb %1,%0" : "=m"(mem) : "r"(val))
     88  __asm__(".arch ev6; stb %1,%0" : "=m"(mem) : "r"(val))
    8989#define __kernel_stw(val,mem) \
    90   __asm__("stw %1,%0" : "=m"(mem) : "r"(val))
     90  __asm__(".arch ev6; stw %1,%0" : "=m"(mem) : "r"(val))
    9191#endif
    9292
    9393/* Some idiots over in <linux/compiler.h> thought inline should imply
Note: See TracBrowser for help on using the repository browser.