]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[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)
commit91c4b8cb5ab8cc3e8352739e35699c0487a6b6f3
treed0a73e97ddb5c4ab8de7d5cb89517ff7f29f467f
parent3f662b3f6e422a15fefcbaf4bdd21f97e6bcf32d
[acpi] Correct the decoding of video mode numbers in wakeup.S

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>
arch/i386/kernel/acpi/wakeup.S
arch/x86_64/kernel/acpi/wakeup.S