sparc32: enable different preemptions models
authorSam Ravnborg <sam@ravnborg.org>
Thu, 29 Dec 2011 13:54:49 +0000 (14:54 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 29 Dec 2011 22:58:31 +0000 (14:58 -0800)
commitb2a1fa30b54ed616e0ae6f521bcd3fad750f5184
treed1832a72a8014e6e2fc54f343895da4eca4cb5de
parentaea1181b0bd0a09c54546399768f359d1e198e45
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>
arch/sparc/Kconfig