diff options
author | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-01-26 06:30:59 (GMT) |
---|---|---|
committer | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-01-26 06:30:59 (GMT) |
commit | 22717178ce9fdec1b5711bcaea5a39e2334d94b1 (patch) | |
tree | 11ef6ca700440089dedccad0ea1637213effc3b4 /abs/core-testing/klibc/klibc-x86_64-fix-io.h.patch | |
parent | e4b0f387e05bf4ff0df15885a69c5e704ece612f (diff) | |
download | linhes_pkgbuild-22717178ce9fdec1b5711bcaea5a39e2334d94b1.zip linhes_pkgbuild-22717178ce9fdec1b5711bcaea5a39e2334d94b1.tar.gz linhes_pkgbuild-22717178ce9fdec1b5711bcaea5a39e2334d94b1.tar.bz2 |
Needed to installed newer kernel.
Diffstat (limited to 'abs/core-testing/klibc/klibc-x86_64-fix-io.h.patch')
-rw-r--r-- | abs/core-testing/klibc/klibc-x86_64-fix-io.h.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/abs/core-testing/klibc/klibc-x86_64-fix-io.h.patch b/abs/core-testing/klibc/klibc-x86_64-fix-io.h.patch new file mode 100644 index 0000000..25ef789 --- /dev/null +++ b/abs/core-testing/klibc/klibc-x86_64-fix-io.h.patch @@ -0,0 +1,28 @@ +diff -Nur klibc-1.5.14.orig/usr/include/arch/x86_64/sys/io.h klibc-1.5.14/usr/include/arch/x86_64/sys/io.h +--- klibc-1.5.14.orig/usr/include/arch/x86_64/sys/io.h 2008-07-30 23:06:03.000000000 +0200 ++++ klibc-1.5.14/usr/include/arch/x86_64/sys/io.h 2008-09-18 14:34:20.000000000 +0200 +@@ -60,21 +60,21 @@ + { + unsigned char __v; + asm volatile ("inb %1,%0" : "=a" (__v) : "dN"(__p)); +- return v; ++ return __v; + } + + static __inline__ unsigned short inw(unsigned short __p) + { + unsigned short __v; + asm volatile ("inw %1,%0" : "=a" (__v) : "dN"(__p)); +- return v; ++ return __v; + } + + static __inline__ unsigned int inl(unsigned short __p) + { + unsigned int __v; + asm volatile ("inl %1,%0" : "=a" (__v) : "dN"(__p)); +- return v; ++ return __v; + } + + /* String I/O macros */ |