panic: Add board ID to panic output
authorNishanth Menon <nm@ti.com>
Wed, 17 Aug 2011 23:31:58 +0000 (18:31 -0500)
committermgross <mark.gross@intel.com>
Wed, 9 Nov 2011 20:23:05 +0000 (12:23 -0800)
commit9cf359f02094cd2683a126752dfa388957ecefb9
tree67f58e5bff93f603638d7e805f91a3d1b6192fc3
parent6abed0325ed86b9ebd2e75701dd60dd1d0e28d11
panic: Add board ID to panic output

At times, it is necessary for boards to provide some additional information
as part of panic logs. Provide information on the board hardware as part
of panic logs.

It is safer to print this information at the very end in case something
bad happens as part of the information retrieval itself.

To use this, set global mach_panic_string to an appropriate string in the
board file.

Change-Id: Id12cdda87b0cd2940dd01d52db97e6162f671b4d
Signed-off-by: Nishanth Menon <nm@ti.com>
include/linux/kernel.h
kernel/panic.c