Skip to content

Commit

Permalink
xtensa: Use generic config PREEMPT definition
Browse files Browse the repository at this point in the history
So that it can handle the new CONFIG_PREEMPT_COUNT.

Signed-off-by: Frederic Weisbecker <[email protected]>
Cc: Chris Zankel <[email protected]>
  • Loading branch information
fweisbec committed Jul 5, 2011
1 parent e22c8f4 commit bd96efe
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions arch/xtensa/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -80,18 +80,7 @@ config XTENSA_UNALIGNED_USER

Say Y here to enable unaligned memory access in user space.

config PREEMPT
bool "Preemptible Kernel"
help
This option reduces the latency of the kernel when reacting to
real-time or interactive events by allowing a low priority process to
be preempted even if it is in kernel mode executing a system call.
Unfortunately the kernel code has some race conditions if both
CONFIG_SMP and CONFIG_PREEMPT are enabled, so this option is
currently disabled if you are building an SMP kernel.

Say Y here if you are building a kernel for a desktop, embedded
or real-time system. Say N if you are unsure.
source "kernel/Kconfig.preempt"

config MATH_EMULATION
bool "Math emulation"
Expand Down

0 comments on commit bd96efe

Please sign in to comment.