diff options
author | H. Peter Anvin <hpa@zytor.com> | 2007-08-02 13:45:49 -0400 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2007-08-02 13:45:49 -0400 |
commit | 463c9a9f7d1f746c251761cef3af5c808394b7e1 (patch) | |
tree | e75e2ed51e5a1371c8541845769ca6c20ae6ef69 /arch | |
parent | 59acc08fd95aefb5430458a08a82b15a4174ed74 (diff) |
[x86 setup] EDD: add missing =m constraint
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/i386/boot/edd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/i386/boot/edd.c b/arch/i386/boot/edd.c index 77d92daf7923..658834d9f92a 100644 --- 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) | |||
127 | ax = 0x4800; | 127 | ax = 0x4800; |
128 | dx = devno; | 128 | dx = devno; |
129 | asm("pushfl; int $0x13; popfl" | 129 | asm("pushfl; int $0x13; popfl" |
130 | : "+a" (ax), "+d" (dx) | 130 | : "+a" (ax), "+d" (dx), "=m" (ei->params) |
131 | : "S" (&ei->params) | 131 | : "S" (&ei->params) |
132 | : "ebx", "ecx", "edi"); | 132 | : "ebx", "ecx", "edi"); |
133 | 133 | ||