[acpi] Correct the decoding of video mode numbers in wakeup.S
authorH. Peter Anvin <hpa@zytor.com>
Thu, 13 Sep 2007 21:16:37 +0000 (14:16 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Thu, 20 Sep 2007 18:06:58 +0000 (11:06 -0700)
wakeup.S looks at the video mode number from the setup header and
looks to see if it is a VESA mode.  Unfortunately, the decoding is
done incorrectly and it will attempt to frob the VESA BIOS for any
mode number 0x0200 or larger.  Correct this, and remove a bunch of #if
0'd code.

Massive thanks to Jeff Chua for reporting the bug, and suffering
though a large number of experiments in order to track this problem
down.

Cc: Pavel Machek <pavel@ucw.cz>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>

No differences found