Browse Source

x86-64, setup: Inhibit decompressor output if video info is invalid

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>
H. Peter Anvin 15 years ago
parent
commit
eb572a5c79
1 changed files with 0 additions and 2 deletions
  1. 0 2
      arch/x86/boot/compressed/misc.c

+ 0 - 2
arch/x86/boot/compressed/misc.c

@@ -185,11 +185,9 @@ static void __putstr(int error, const char *s)
 		return;
 		return;
 #endif
 #endif
 
 
-#ifdef CONFIG_X86_32
 	if (real_mode->screen_info.orig_video_mode == 0 &&
 	if (real_mode->screen_info.orig_video_mode == 0 &&
 	    lines == 0 && cols == 0)
 	    lines == 0 && cols == 0)
 		return;
 		return;
-#endif
 
 
 	x = real_mode->screen_info.orig_x;
 	x = real_mode->screen_info.orig_x;
 	y = real_mode->screen_info.orig_y;
 	y = real_mode->screen_info.orig_y;