projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dcd6c92
)
x86, boot: Fix port argument to inl() function
author
He Chunhui
<hchunhui@mail.ustc.edu.cn>
Tue, 31 Jan 2012 16:48:28 +0000
(
00:48
+0800)
committer
H. Peter Anvin
<hpa@linux.intel.com>
Tue, 31 Jan 2012 20:05:54 +0000
(12:05 -0800)
"u32 port" in inl() should be "u16 port".
[ hpa: it's a bug, but it doesn't produce incorrect code, so no need
to put this into urgent or stable. ]
Signed-off-by: He Chunhui <hchunhui@mail.ustc.edu.cn>
Link:
http://lkml.kernel.org/r/32892299.2931391328028508117.JavaMail.coremail@mailweb
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/boot/boot.h
patch
|
blob
|
history
diff --git
a/arch/x86/boot/boot.h
b/arch/x86/boot/boot.h
index c7093bd9f2d34f834267ccace3557e8f399f154f..18997e5a1053128369bb22029d762f9dde204874 100644
(file)
--- a/
arch/x86/boot/boot.h
+++ b/
arch/x86/boot/boot.h
@@
-67,7
+67,7
@@
static inline void outl(u32 v, u16 port)
{
asm volatile("outl %0,%1" : : "a" (v), "dN" (port));
}
-static inline u32 inl(u
32
port)
+static inline u32 inl(u
16
port)
{
u32 v;
asm volatile("inl %1,%0" : "=a" (v) : "dN" (port));