Use kernel/Kconfig.preempt for ARM
commitd45a398fca6b03f16d01c9253c3a8c96d804f532
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Thu, 13 Aug 2009 18:38:17 +0000 (13 20:38 +0200)
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Thu, 13 Aug 2009 18:34:38 +0000 (13 20:34 +0200)
treedc8b7971555641c94910e2fb9d5266597616213d
parent0d928b0b616d1c5c5fe76019a87cba171ca91633
Use kernel/Kconfig.preempt for ARM

before this patch ARM had it's own definition of CONFIG_PREEMPT.
Instead of that use the general definition provided in
kernel/Kconfig.preempt.

This patch changes the available options in *config.  Namely PREEMPT
isn't a stand alone bool anymore, but part of a 'choice' the
following Kconfig symbols are added:

PREEMPT_NONE
PREEMPT_VOLUNTARY

Selecting PREEMPT_NONE now produces exactly the code as not selecting
PREEMPT before (apart from a comment in
/sys/kernel/debug/tracing/(per_cpu/cpuX/)?trace).  The only difference
PREEMPT_VOLUNTARY does is that might_resched might reschedule.  Both
should't introduce regressions.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Cc: Russell King <linux@arm.linux.org.uk>
arch/arm/Kconfig