mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 11:46:19 +00:00
[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>
This commit is contained in:
parent
59acc08fd9
commit
463c9a9f7d
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
|
||||
|
|
Loading…
Reference in a new issue