powerpc/64: Move HAVE_CONTEXT_TRACKING from pseries to common Kconfig
authorAnton Blanchard <anton@samba.org>
Thu, 12 Jan 2017 10:17:33 +0000 (21:17 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 2 Feb 2017 05:35:24 +0000 (16:35 +1100)
We added support for HAVE_CONTEXT_TRACKING, but placed the option inside
PPC_PSERIES.

This has the undesirable effect that NO_HZ_FULL can be enabled on a
kernel with both powernv and pseries support, but cannot on a kernel
with powernv only support.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/Kconfig
arch/powerpc/platforms/pseries/Kconfig

index e022859340b75ff441bd887361575c056cb82018..33f5b8380a7d634c39f10072154edf04890827b0 100644 (file)
@@ -165,6 +165,7 @@ config PPC
        select HAVE_ARCH_HARDENED_USERCOPY
        select HAVE_KERNEL_GZIP
        select HAVE_CC_STACKPROTECTOR
+       select HAVE_CONTEXT_TRACKING if PPC64
 
 config GENERIC_CSUM
        def_bool n
index e1c280a95d58ea8b1ce85ee6f1e7f41ec573c824..30ec04f1c67c1939955c259343c3a729fc0353c3 100644 (file)
@@ -17,7 +17,6 @@ config PPC_PSERIES
        select PPC_UDBG_16550
        select PPC_NATIVE
        select PPC_DOORBELL
-       select HAVE_CONTEXT_TRACKING
        select HOTPLUG_CPU if SMP
        select ARCH_RANDOM
        select PPC_DOORBELL