From: H. Peter Anvin Date: Thu, 2 Aug 2007 17:45:49 +0000 (-0400) Subject: [x86 setup] EDD: add missing =m constraint X-Git-Tag: v2.6.23-rc2~12^2~1 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=463c9a9f7d1f746c251761cef3af5c808394b7e1;p=linux-2.6-omap-h63xx.git [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 --- diff --git a/arch/i386/boot/edd.c b/arch/i386/boot/edd.c index 77d92daf792..658834d9f92 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) 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");