sparc32: enable different preemptions models
authorSam Ravnborg <[email protected]>
Thu, 29 Dec 2011 13:54:49 +0000 (14:54 +0100)
committerDavid S. Miller <[email protected]>
Thu, 29 Dec 2011 22:58:31 +0000 (14:58 -0800)
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
arch/sparc/Kconfig

index 27060b20678e7115463e65e508da6d863f319395..7cb8adfb9e495c69df333953815747e447814193 100644 (file)
@@ -386,9 +386,7 @@ config SCHED_MC
          making when dealing with multi-core CPU chips at a cost of slightly
          increased overhead in some places. If unsure say N here.
 
-if SPARC64
 source "kernel/Kconfig.preempt"
-endif
 
 config CMDLINE_BOOL
        bool "Default bootloader kernel arguments"