source:
patches/linux-2.6.18-alpha_io_fix-1.patch@
d9f6c44
Last change on this file since d9f6c44 was 1ad19d5, checked in by , 18 years ago | |
---|---|
|
|
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 78 78 #else 79 79 #define __kernel_ldbu(mem) \ 80 80 ({ unsigned char __kir; \ 81 __asm__(" ldbu %0,%1" : "=r"(__kir) : "m"(mem)); \81 __asm__(".arch ev6; ldbu %0,%1" : "=r"(__kir) : "m"(mem)); \ 82 82 __kir; }) 83 83 #define __kernel_ldwu(mem) \ 84 84 ({ unsigned short __kir; \ 85 __asm__(" ldwu %0,%1" : "=r"(__kir) : "m"(mem)); \85 __asm__(".arch ev6; ldwu %0,%1" : "=r"(__kir) : "m"(mem)); \ 86 86 __kir; }) 87 87 #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)) 89 89 #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)) 91 91 #endif 92 92 93 93 /* Some idiots over in <linux/compiler.h> thought inline should imply
Note:
See TracBrowser
for help on using the repository browser.