summaryrefslogtreecommitdiff
path: root/kexec/add_segment.c
diff options
context:
space:
mode:
authorMagnus Damm <damm@igel.co.jp>2008-09-03 20:38:11 +0900
committerSimon Horman <horms@verge.net.au>2008-09-05 09:39:26 +1000
commite534a0c9fed2066ed3636a082e67f6fafa779019 (patch)
treef98f3b62ed9a096d20f582205288e99b3f207ec1 /kexec/add_segment.c
parente956e4a66847606e133bcc4b97704aa09441a064 (diff)
sh: Add vmlinux crash dump support
This patch adds SuperH crash dump support. The vmlinux loader is modified with crash dump hooks as on other architectures. SuperH does not need any backup region, so only the elf header is allocated from the top of the reserved memory window. The actual size of the memory window is passed to the secondary kernel on the command line using "mem=". The secondary kernel must be configured to match the reserved memory window, change kernel parameters CONFIG_MEMORY_START and CONFIG_MEMORY_SIZE. Linux-2.6.27 should be usable as primary kernel on SuperH, later kernel versions are needed to fully support secondary kernel /proc/vmcore. Signed-off-by: Magnus Damm <damm@igel.co.jp> Acked-by: Paul Mundt <lethal@linux-sh.org> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/add_segment.c')
0 files changed, 0 insertions, 0 deletions