Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 463c9a9f authored by H. Peter Anvin's avatar H. Peter Anvin
Browse files

[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: default avatarH. Peter Anvin <hpa@zytor.com>
parent 59acc08f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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");