From: Seiji Aguchi Date: Thu, 13 Jan 2011 00:59:30 +0000 (-0800) Subject: kmsg_dump: add kmsg_dump() calls to the reboot, halt, poweroff and emergency_restart... X-Git-Tag: v2.6.38-rc1~380 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04c6862c055fb687c90d9652f32c11a063df15cf;p=pandora-kernel.git kmsg_dump: add kmsg_dump() calls to the reboot, halt, poweroff and emergency_restart paths We need to know the reason why system rebooted in support service. However, we can't inform our customers of the reason because final messages are lost on current Linux kernel. This patch improves the situation above because the final messages are saved by adding kmsg_dump() to reboot, halt, poweroff and emergency_restart path. Signed-off-by: Seiji Aguchi Cc: David Woodhouse Cc: Marco Stornelli Reviewed-by: Artem Bityutskiy Reviewed-by: KOSAKI Motohiro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed