diff options
author | Alexander Kuleshov <kuleshovmail@gmail.com> | 2015-01-24 19:11:32 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2015-02-19 00:25:05 +0100 |
commit | 79287cf8778df21e5ad6c3ac01615e02cf9dbae6 (patch) | |
tree | b86c51214a9cf278178e2bfd6e939dfca333a29a /arch/x86/boot/video-mode.c | |
parent | Merge branch 'x86-ras-for-linus' of git://git.kernel.org/pub/scm/linux/kernel... (diff) | |
download | linux-79287cf8778df21e5ad6c3ac01615e02cf9dbae6.tar.xz linux-79287cf8778df21e5ad6c3ac01615e02cf9dbae6.zip |
x86/boot/video: Move the 'video_segment' variable to video.c
video.c is the only real user of the 'video_segment' variable,
so move it to video.c and make it static.
Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Martin Mares <mj@ucw.cz>
Link: http://lkml.kernel.org/r/1422123092-28750-1-git-send-email-kuleshovmail@gmail.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/boot/video-mode.c')
-rw-r--r-- | arch/x86/boot/video-mode.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/x86/boot/video-mode.c b/arch/x86/boot/video-mode.c index 748e8d06290a..aa8a96b052e3 100644 --- a/arch/x86/boot/video-mode.c +++ b/arch/x86/boot/video-mode.c @@ -22,10 +22,8 @@ /* * Common variables */ -int adapter; /* 0=CGA/MDA/HGC, 1=EGA, 2=VGA+ */ -u16 video_segment; +int adapter; /* 0=CGA/MDA/HGC, 1=EGA, 2=VGA+ */ int force_x, force_y; /* Don't query the BIOS for cols/rows */ - int do_restore; /* Screen contents changed during mode flip */ int graphic_mode; /* Graphic mode with linear frame buffer */ |