Commit 1bf247f8 authored by Aruna Balakrishnaiah's avatar Aruna Balakrishnaiah Committed by Benjamin Herrenschmidt

powerpc/pseries: Remove syslog prefix in uncompressed oops text

Removal of syslog prefix in the uncompressed oops text will
help in capturing more oops data.
Signed-off-by: default avatarAruna Balakrishnaiah <aruna@linux.vnet.ibm.com>
Reviewed-by: default avatarJim Keniston <jkenisto@us.ibm.com>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent 2d5c1216
...@@ -619,7 +619,7 @@ static void oops_to_nvram(struct kmsg_dumper *dumper, ...@@ -619,7 +619,7 @@ static void oops_to_nvram(struct kmsg_dumper *dumper,
} }
if (rc != 0) { if (rc != 0) {
kmsg_dump_rewind(dumper); kmsg_dump_rewind(dumper);
kmsg_dump_get_buffer(dumper, true, kmsg_dump_get_buffer(dumper, false,
oops_data, oops_data_sz, &text_len); oops_data, oops_data_sz, &text_len);
err_type = ERR_TYPE_KERNEL_PANIC; err_type = ERR_TYPE_KERNEL_PANIC;
*oops_len = (u16) text_len; *oops_len = (u16) text_len;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment