]> git.karo-electronics.de Git - mv-sheeva.git/commit
x86, UV: Make kdump avoid stack dumps - fix !CONFIG_KEXEC breakage
authorCliff Wickman <cpw@sgi.com>
Mon, 9 Aug 2010 21:11:22 +0000 (16:11 -0500)
committerH. Peter Anvin <hpa@linux.intel.com>
Thu, 12 Aug 2010 19:23:55 +0000 (12:23 -0700)
commit1d6225e8cc5598f2bc5c992f9c88b1137763e8e1
treef9aef5abd49f947175ec038ca416840935ef581e
parentc4026cfd8febcd63dd278894108839f30e525a0e
x86, UV: Make kdump avoid stack dumps - fix !CONFIG_KEXEC breakage

This replaces Version 1 of this patch, which broke the build when
CONFIG_KEXEC and CONFIG_CRASH_DUMP were configured off.  In that case
the storage for the 'in_crash_kexec' flag was never built.

This version defines that flag as 0 if CONFIG_KEXEC is not set.
The patch is tested with all combinations of those two options.

Signed-off-by: Cliff Wickman <cpw@sgi.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
LKML-Reference: <E1OiZcw-0001Hb-2g@eag09.americas.sgi.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/include/asm/kdebug.h