projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23b764d
)
x86, setup: Set ax register in boot vga query
author
Andi Kleen
<andi@firstfloor.org>
Thu, 10 Jun 2010 11:10:40 +0000
(13:10 +0200)
committer
H. Peter Anvin
<hpa@linux.intel.com>
Thu, 10 Jun 2010 22:24:29 +0000
(15:24 -0700)
Catch missing conversion to the register structure "glove box" scheme.
Found by gcc 4.6's new warnings.
Signed-off-by: Andi Kleen <ak@linux.intel.com>
LKML-Reference: <
20100610111040
.
F1781B1A2B
@basil.firstfloor.org>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/boot/video-vga.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/boot/video-vga.c
b/arch/x86/boot/video-vga.c
index ed7aeff786b277d01b281a47c418eb5c988ea249..45bc9402aa497f7c7151a7ce3e0b419ab9454301 100644
(file)
--- a/
arch/x86/boot/video-vga.c
+++ b/
arch/x86/boot/video-vga.c
@@
-41,13
+41,12
@@
static __videocard video_vga;
static u8 vga_set_basic_mode(void)
{
struct biosregs ireg, oreg;
- u16 ax;
u8 mode;
initregs(&ireg);
/* Query current mode */
- ax = 0x0f00;
+
ireg.
ax = 0x0f00;
intcall(0x10, &ireg, &oreg);
mode = oreg.al;