From: Cliff Wickman Date: Mon, 9 Aug 2010 21:11:22 +0000 (-0500) Subject: x86, UV: Make kdump avoid stack dumps - fix !CONFIG_KEXEC breakage X-Git-Tag: v2.6.36-rc1~25^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d6225e8cc5598f2bc5c992f9c88b1137763e8e1;p=pandora-kernel.git 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 Cc: Andrew Morton LKML-Reference: Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed