File kexec-tools-no-vga-output.diff of Package kexec-tools

From: Bernhard Walle <bwalle@suse.de>
Subject: [PATCH] Don't print setup_linux_vesafb message
Patch-mainline: never

This looks ugly:

        linux-nisf:/var/crash # rckdump start
        Loading kdump setup_linux_vesafb: 1024x768x16 @ e0000000 +600000

Don't display the setup_linux_vesafb message.


Signed-off-by: Bernhard Walle <bwalle@suse.de>

---
 kexec/arch/i386/x86-linux-setup.c |    4 ++++
 1 file changed, 4 insertions(+)

--- a/kexec/arch/i386/x86-linux-setup.c
+++ b/kexec/arch/i386/x86-linux-setup.c
@@ -149,9 +149,13 @@ int setup_linux_vesafb(struct x86_linux_
 		real_mode->rsvd_pos   = var.transp.offset;
 		real_mode->rsvd_size  = var.transp.length;
 	}
+
+#if 0
 	fprintf(stderr, "%s: %dx%dx%d @ %lx +%x\n", __FUNCTION__,
 		var.xres, var.yres, var.bits_per_pixel,
 		fix.smem_start, fix.smem_len);
+#endif
+
 	return 0;
 
  out: