source:
patches/linux-2.6.20.1-alpha_io_fix-1.patch@
d8a6c15
Last change on this file since d8a6c15 was 50361f7, checked in by , 18 years ago | |
---|---|
|
|
File size: 1.3 KB |
-
include/asm-alpha/compiler.h
Submitted By: Joe Ciccone <jciccone@linuxfromscratch.org> Date: 2006-11-29 Initial Package Version: 2.6.19 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. diff -Naur linux-2.6.19.orig/include/asm-alpha/compiler.h linux-2.6.19/include/asm-alpha/compiler.h
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 #ifdef __KERNEL__
Note:
See TracBrowser
for help on using the repository browser.