]> pilppa.com Git - linux-2.6-omap-h63xx.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)
committerIngo Molnar <mingo@elte.hu>
Fri, 30 Jan 2009 22:55:25 +0000 (23:55 +0100)
commit7fc49f19813030f2e15ad2ccec5cb701f7f4a3ec
treeb4e52b975777e18151811019541e24f0a6f2bfc8
parent618b2c8db24522ae273d8299c6a936ea13793c4d
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>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/boot/video-vesa.c