]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
[x86 setup] The current display page is returned in %bh, not %bl
authorH. Peter Anvin <hpa@zytor.com>
Fri, 10 Aug 2007 21:20:26 +0000 (14:20 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Tue, 14 Aug 2007 21:12:44 +0000 (14:12 -0700)
commit362cea339a34e04caae6cad67ea9bde5c100d12b
tree2332400c7d1801fed2ae84bdf23f028795cd560e
parent28e8351ac22de25034e048c680014ad824323c65
[x86 setup] The current display page is returned in %bh, not %bl

The current display page is an 8-bit number, even though struct
screen_info gives it a 16-bit number.  The number is returned in %bh,
so it needs to be >> 8 before storing.

Special thanks to Jeff Chua for detailed bug reporting.

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