kexec: remove KMSG_DUMP_KEXEC
authorWANG Cong <xiyou.wangcong@gmail.com>
Fri, 13 Jan 2012 01:20:11 +0000 (17:20 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 13 Jan 2012 04:13:11 +0000 (20:13 -0800)
commita3dd3323058d281abd584b15ad4c5b65064d7a61
tree98c65337f9960db2d0ca55687314bb821f3e7c1f
parent9512938b885304f72c847379611d6018064af840
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>
Signed-off-by: Linus Torvalds <torvalds@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