]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
powerpc: Enable RELOCATABLE option for CRASH_DUMP
authorMohan Kumar M <mohan@in.ibm.com>
Tue, 6 Jan 2009 00:23:01 +0000 (00:23 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 8 Jan 2009 05:25:14 +0000 (16:25 +1100)
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>
arch/powerpc/Kconfig

index 79f25cef32dfe72b0d230ce6642ce95c747f080d..acda55199f550483ef9faa31c5fdd1f3d9ff6a10 100644 (file)
@@ -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