x86: fix usage of bios intcall()
authorAkinobu Mita <akinobu.mita@gmail.com>
Wed, 1 Jul 2009 02:13:07 +0000 (11:13 +0900)
committerH. Peter Anvin <hpa@zytor.com>
Sat, 4 Jul 2009 19:56:32 +0000 (12:56 -0700)
commitfebe04de3be4bf66f9339d8847db2806d99fd164
treee1143d42fc562326196b3eeead563c70449dc019
parent22a26e6663008e1fc4d1467aaff7e775124bce31
x86: fix usage of bios intcall()

Some intcall() misuses the input biosregs as output in
cf06de7b9cdd3efee7a59dced1977b3c21d43732

This fixes the problem vga=ask boot option doesn't show enough modes.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
LKML-Reference: <20090701021307.GA3127@localhost.localdomain>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/boot/video-bios.c
arch/x86/boot/video-vesa.c