aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/boot/compressed/misc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/boot/compressed/misc.c b/arch/x86/boot/compressed/misc.c
index a0838ab929f2..c14217cd0155 100644
--- a/arch/x86/boot/compressed/misc.c
+++ b/arch/x86/boot/compressed/misc.c
@@ -116,8 +116,7 @@ void __putstr(const char *s)
116 } 116 }
117 } 117 }
118 118
119 if (boot_params->screen_info.orig_video_mode == 0 && 119 if (lines == 0 || cols == 0)
120 lines == 0 && cols == 0)
121 return; 120 return;
122 121
123 x = boot_params->screen_info.orig_x; 122 x = boot_params->screen_info.orig_x;