diff options
author | WANG Cong <xiyou.wangcong@gmail.com> | 2012-01-12 17:20:11 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-12 20:13:11 -0800 |
commit | a3dd3323058d281abd584b15ad4c5b65064d7a61 (patch) | |
tree | 98c65337f9960db2d0ca55687314bb821f3e7c1f /include/linux/kmsg_dump.h | |
parent | 9512938b885304f72c847379611d6018064af840 (diff) | |
download | linux-a3dd3323058d281abd584b15ad4c5b65064d7a61.tar.gz linux-a3dd3323058d281abd584b15ad4c5b65064d7a61.tar.bz2 linux-a3dd3323058d281abd584b15ad4c5b65064d7a61.zip |
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>
Diffstat (limited to 'include/linux/kmsg_dump.h')
-rw-r--r-- | include/linux/kmsg_dump.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/kmsg_dump.h b/include/linux/kmsg_dump.h index ee0c952188de..fee66317e071 100644 --- a/include/linux/kmsg_dump.h +++ b/include/linux/kmsg_dump.h @@ -18,7 +18,6 @@ enum kmsg_dump_reason { KMSG_DUMP_OOPS, KMSG_DUMP_PANIC, - KMSG_DUMP_KEXEC, KMSG_DUMP_RESTART, KMSG_DUMP_HALT, KMSG_DUMP_POWEROFF, |