aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/boot/compressed/misc_32.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/boot/compressed/misc_32.c')
-rw-r--r--arch/x86/boot/compressed/misc_32.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/boot/compressed/misc_32.c b/arch/x86/boot/compressed/misc_32.c
index 1dc1e19c0a9f..b74d60d1b2fa 100644
--- a/arch/x86/boot/compressed/misc_32.c
+++ b/arch/x86/boot/compressed/misc_32.c
@@ -247,6 +247,9 @@ static void putstr(const char *s)
int x,y,pos;
char c;
+ if (RM_SCREEN_INFO.orig_video_mode == 0 && lines == 0 && cols == 0)
+ return;
+
x = RM_SCREEN_INFO.orig_x;
y = RM_SCREEN_INFO.orig_y;