Patchwork [v4,1/8] powerpc/pseries: Remove syslog prefix in uncompressed oops text

login
register
mail settings
Submitter Aruna Balakrishnaiah
Date June 5, 2013, 6:50 p.m.
Message ID <20130605185055.25794.82917.stgit@aruna-ThinkPad-T420>
Download mbox | patch
Permalink /patch/249160/
State Accepted, archived
Delegated to: Benjamin Herrenschmidt
Headers show

Comments

Aruna Balakrishnaiah - June 5, 2013, 6:50 p.m.
Removal of syslog prefix in the uncompressed oops text will
help in capturing more oops data.

Signed-off-by: Aruna Balakrishnaiah <aruna@linux.vnet.ibm.com>
Reviewed-by: Jim Keniston <jkenisto@us.ibm.com>
---
 arch/powerpc/platforms/pseries/nvram.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/arch/powerpc/platforms/pseries/nvram.c b/arch/powerpc/platforms/pseries/nvram.c
index 8733a86..e54a8b7 100644
--- a/arch/powerpc/platforms/pseries/nvram.c
+++ b/arch/powerpc/platforms/pseries/nvram.c
@@ -619,7 +619,7 @@  static void oops_to_nvram(struct kmsg_dumper *dumper,
 	}
 	if (rc != 0) {
 		kmsg_dump_rewind(dumper);
-		kmsg_dump_get_buffer(dumper, true,
+		kmsg_dump_get_buffer(dumper, false,
 				     oops_data, oops_data_sz, &text_len);
 		err_type = ERR_TYPE_KERNEL_PANIC;
 		*oops_len = (u16) text_len;