]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
x86: remove superfluous initialisation in boot code.
authorAlexander van Heukelum <heukelum@mailshack.com>
Sun, 6 Apr 2008 12:47:00 +0000 (14:47 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 17 Apr 2008 15:41:36 +0000 (17:41 +0200)
commit03056c88cf65ec8375753900246b36ae1c4b8a33
tree165231b99e6d353c32beb42dce90441321930015
parent85bdddec5eaeb2464bf1cad6a17225416e65a8d6
x86: remove superfluous initialisation in boot code.

In arch/x86/boot/compressed/misc.c, the variable vidmem is
the only variable that ends up in de data segment. It's also
superfluous, because the first thing the code does is:

if (RM_SCREEN_INFO.orig_video_mode == 7) {
vidmem = (char *) 0xb0000;
vidport = 0x3b4;
} else {
vidmem = (char *) 0xb8000;
vidport = 0x3d4;
}

This patch removes the initialisation.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/boot/compressed/misc.c