Skip to content

Commit

Permalink
x86-64, setup: Inhibit decompressor output if video info is invalid
Browse files Browse the repository at this point in the history
Inhibit output from the kernel decompressor if the video information
is invalid.  This was already the case for 32 bits, make 64 bits
match.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
LKML-Reference: <tip-*@git.kernel.org>
  • Loading branch information
H. Peter Anvin committed Feb 19, 2010
1 parent f1f6baf commit eb572a5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions arch/x86/boot/compressed/misc.c
Original file line number Diff line number Diff line change
Expand Up @@ -185,11 +185,9 @@ static void __putstr(int error, const char *s)
return;
#endif

#ifdef CONFIG_X86_32
if (real_mode->screen_info.orig_video_mode == 0 &&
lines == 0 && cols == 0)
return;
#endif

x = real_mode->screen_info.orig_x;
y = real_mode->screen_info.orig_y;
Expand Down

0 comments on commit eb572a5

Please sign in to comment.