]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
kexec: remove KMSG_DUMP_KEXEC
authorWANG Cong <xiyou.wangcong@gmail.com>
Fri, 16 Dec 2011 04:50:44 +0000 (15:50 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 20 Dec 2011 07:44:06 +0000 (18:44 +1100)
commite938d63ae58d9b64f3ff9b80e0ba5ad5ac93e7ef
tree5b0fe3b9995a4fa6ee5b48710c000271a596baae
parent9a5706f5fbc9bff1df309614fde370b37b073e6a
kexec: remove KMSG_DUMP_KEXEC

KMSG_DUMP_KEXEC is useless because we already save kernel messages inside
/proc/vmcore, and it is unsafe to allow modules to do other stuffs in a
crash dump scenario.

[akpm@linux-foundation.org: fix powerpc build]
Signed-off-by: WANG Cong <xiyou.wangcong@gmail.com>
Reported-by: Vivek Goyal <vgoyal@redhat.com>
Acked-by: Vivek Goyal <vgoyal@redhat.com>
Acked-by: Jarod Wilson <jarod@redhat.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/powerpc/platforms/pseries/nvram.c
drivers/char/ramoops.c
drivers/mtd/mtdoops.c
include/linux/kmsg_dump.h
kernel/kexec.c