]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kexec: remove KMSG_DUMP_KEXEC
authorWANG Cong <xiyou.wangcong@gmail.com>
Wed, 30 Nov 2011 04:12:04 +0000 (15:12 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 30 Nov 2011 04:14:07 +0000 (15:14 +1100)
commit08d2b6b51ddc0cccba5625ae5be4aaf34c8b98d6
tree03e86bb7f162d0e4e2684a9a47bbb6de2c310160
parent6da84676ea5a4cf9ed84cb867535034a769a1436
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