aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2011-12-29 08:54:49 -0500
committerDavid S. Miller <davem@davemloft.net>2011-12-29 17:58:31 -0500
commitb2a1fa30b54ed616e0ae6f521bcd3fad750f5184 (patch)
treed1832a72a8014e6e2fc54f343895da4eca4cb5de /arch/sparc
parentaea1181b0bd0a09c54546399768f359d1e198e45 (diff)
sparc32: enable different preemptions models
While chasing following warning from kconfig I noticed that the kconfig preemption model symbols were all dependent on sparc64. warning: (PREEMPT && DEBUG_ATOMIC_SLEEP) selects PREEMPT_COUNT which has unmet direct dependencies (SPARC64) >From arch/sparc/Kconfig: if SPARC64 source "kernel/Kconfig.preempt" endif But looking a bit closer I see nothing obvious why sparc32 should not support the various preemption models. Drop the "if SPARC64" conditional to enable selection of preemption model on sparc32 too. Build-tested - but not run-time tested all three models. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc')
-rw-r--r--arch/sparc/Kconfig2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig
index 27060b20678e..7cb8adfb9e49 100644
--- a/arch/sparc/Kconfig
+++ b/arch/sparc/Kconfig
@@ -386,9 +386,7 @@ config SCHED_MC
386 making when dealing with multi-core CPU chips at a cost of slightly 386 making when dealing with multi-core CPU chips at a cost of slightly
387 increased overhead in some places. If unsure say N here. 387 increased overhead in some places. If unsure say N here.
388 388
389if SPARC64
390source "kernel/Kconfig.preempt" 389source "kernel/Kconfig.preempt"
391endif
392 390
393config CMDLINE_BOOL 391config CMDLINE_BOOL
394 bool "Default bootloader kernel arguments" 392 bool "Default bootloader kernel arguments"