powerpc/pseries: Remove syslog prefix in uncompressed oops text
authorAruna Balakrishnaiah <aruna@linux.vnet.ibm.com>
Wed, 5 Jun 2013 18:50:55 +0000 (00:20 +0530)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 20 Jun 2013 07:04:39 +0000 (17:04 +1000)
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>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/pseries/nvram.c

index 8733a86ad52ed6dbb2b0fc9030b08852a3ca2b62..e54a8b7f5c6434a02755d8345a26c189f9069750 100644 (file)
@@ -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;