projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59acc08
)
[x86 setup] EDD: add missing =m constraint
author
H. Peter Anvin
<hpa@zytor.com>
Thu, 2 Aug 2007 17:45:49 +0000
(13:45 -0400)
committer
H. Peter Anvin
<hpa@zytor.com>
Thu, 2 Aug 2007 17:45:49 +0000
(13:45 -0400)
Add a missing =m constraint to the EDD-probing code, that could have
caused improper dead-code elimination.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/i386/boot/edd.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/i386/boot/edd.c
b/arch/i386/boot/edd.c
index 77d92daf7923505d45580899a5476aa74f6ed989..658834d9f92a098acc2de75a1a5e9c028540b254 100644
(file)
--- a/
arch/i386/boot/edd.c
+++ b/
arch/i386/boot/edd.c
@@
-127,7
+127,7
@@
static int get_edd_info(u8 devno, struct edd_info *ei)
ax = 0x4800;
dx = devno;
asm("pushfl; int $0x13; popfl"
- : "+a" (ax), "+d" (dx)
+ : "+a" (ax), "+d" (dx)
, "=m" (ei->params)
: "S" (&ei->params)
: "ebx", "ecx", "edi");