]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
x86 setup: fix asm constraints in vesa_store_edid
authorAndreas Schwab <schwab@suse.de>
Tue, 27 Jan 2009 20:45:57 +0000 (21:45 +0100)
committerH. Peter Anvin <hpa@linux.intel.com>
Tue, 27 Jan 2009 22:48:46 +0000 (14:48 -0800)
commit042cbaf88ab48e11afb725541e3c2cbf5b483680
tree46bee380febae6ced11562ff1106a1ccda9280aa
parent7cb36b6ccdca03bd87e8faca7fd920643dd1aec7
x86 setup: fix asm constraints in vesa_store_edid

Impact: fix potential miscompile (currently believed non-manifest)

As the comment explains, the VBE DDC call can clobber any register.
Tell the compiler about that fact.

Signed-off-by: Andreas Schwab <schwab@suse.de>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/boot/video-vesa.c