[x86 setup] Present the canonical video mode number to the kernel
authorH. Peter Anvin <hpa@zytor.com>
Thu, 13 Sep 2007 21:14:29 +0000 (14:14 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Thu, 20 Sep 2007 18:06:58 +0000 (11:06 -0700)
commit3f662b3f6e422a15fefcbaf4bdd21f97e6bcf32d
treecabd8b62dd391164afbfc0f0feb489d661a92f69
parent81cfe79b9c577139a873483654640eb3f6e78c39
[x86 setup] Present the canonical video mode number to the kernel

Canonicalize the video mode number as presented to the kernel.  The
video mode number may be user-entered (e.g. ASK_VGA), an alias
(e.g. NORMAL_VGA), or a size specification, and that confuses the
suspend wakeup code.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/i386/boot/video.c