summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMohan Kumar M <mohan@in.ibm.com>2009-01-06 03:23:01 +0300
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2009-01-08 08:25:14 +0300
commitc6ac71a14aec8278507a71d9d9f496dc9adad010 (patch)
tree134a0e77d91880c290667da4ee1ef8e446d194da /arch
parentd6a09e0cd6329db6f48b0015407a1b038d8fa64b (diff)
downloadlinux-c6ac71a14aec8278507a71d9d9f496dc9adad010.tar.xz
powerpc: Enable RELOCATABLE option for CRASH_DUMP
Enable RELOCATABLE option if user selects CRASH_DUMP option. Without this patch user has to first select RELOCATABLE option and then has to enable CRASH_DUMP option. Signed-off-by: M. Mohan Kumar <mohan@in.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 79f25cef32df..acda55199f55 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -326,7 +326,8 @@ config KEXEC
config CRASH_DUMP
bool "Build a kdump crash kernel"
- depends on (PPC64 && RELOCATABLE) || 6xx
+ depends on PPC64 || 6xx
+ select RELOCATABLE if PPC64
help
Build a kernel suitable for use as a kdump capture kernel.
The same kernel binary can be used as production kernel and dump