clfs-1.2
clfs-2.1
clfs-3.0.0-systemd
clfs-3.0.0-sysvinit
systemd
sysvinit
Last change
on this file since e9f5e6e was 30f7bcd, checked in by Jim Gifford <clfs@…>, 18 years ago |
Update Linux Patches
|
-
Property mode
set to
100644
|
File size:
1.3 KB
|
Rev | Line | |
---|
[30f7bcd] | 1 | Submitted By: Joe Ciccone <jciccone@linuxfromscratch.org>
|
---|
| 2 | Date: 2006-11-29
|
---|
| 3 | Initial Package Version: 2.6.19
|
---|
| 4 | Origin: Joe Ciccone
|
---|
| 5 | Upstream Status: Unknown
|
---|
| 6 | Description: Fixes a build issue with alpha on some processors. The
|
---|
| 7 | instructions being modified are specific to ev56/ev6.
|
---|
| 8 |
|
---|
| 9 | diff -Naur linux-2.6.19.orig/include/asm-alpha/compiler.h linux-2.6.19/include/asm-alpha/compiler.h
|
---|
| 10 | --- linux-2.6.19.orig/include/asm-alpha/compiler.h 2006-11-29 13:57:37.000000000 -0800
|
---|
| 11 | +++ linux-2.6.19/include/asm-alpha/compiler.h 2006-11-29 19:11:54.000000000 -0800
|
---|
| 12 | @@ -78,16 +78,16 @@
|
---|
| 13 | #else
|
---|
| 14 | #define __kernel_ldbu(mem) \
|
---|
| 15 | ({ unsigned char __kir; \
|
---|
| 16 | - __asm__("ldbu %0,%1" : "=r"(__kir) : "m"(mem)); \
|
---|
| 17 | + __asm__(".arch ev6; ldbu %0,%1" : "=r"(__kir) : "m"(mem)); \
|
---|
| 18 | __kir; })
|
---|
| 19 | #define __kernel_ldwu(mem) \
|
---|
| 20 | ({ unsigned short __kir; \
|
---|
| 21 | - __asm__("ldwu %0,%1" : "=r"(__kir) : "m"(mem)); \
|
---|
| 22 | + __asm__(".arch ev6; ldwu %0,%1" : "=r"(__kir) : "m"(mem)); \
|
---|
| 23 | __kir; })
|
---|
| 24 | #define __kernel_stb(val,mem) \
|
---|
| 25 | - __asm__("stb %1,%0" : "=m"(mem) : "r"(val))
|
---|
| 26 | + __asm__(".arch ev6; stb %1,%0" : "=m"(mem) : "r"(val))
|
---|
| 27 | #define __kernel_stw(val,mem) \
|
---|
| 28 | - __asm__("stw %1,%0" : "=m"(mem) : "r"(val))
|
---|
| 29 | + __asm__(".arch ev6; stw %1,%0" : "=m"(mem) : "r"(val))
|
---|
| 30 | #endif
|
---|
| 31 |
|
---|
| 32 | #ifdef __KERNEL__
|
---|
Note:
See
TracBrowser
for help on using the repository browser.