Skip to content
Commit 1d6225e8 authored by Cliff Wickman's avatar Cliff Wickman Committed by H. Peter Anvin
Browse files

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: default avatarCliff Wickman <cpw@sgi.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
LKML-Reference: <E1OiZcw-0001Hb-2g@eag09.americas.sgi.com>
Signed-off-by: default avatarH. Peter Anvin <hpa@linux.intel.com>
parent c4026cfd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment