]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
xtensa: Use generic config PREEMPT definition
authorFrederic Weisbecker <fweisbec@gmail.com>
Tue, 5 Jul 2011 15:45:34 +0000 (17:45 +0200)
committerFrederic Weisbecker <fweisbec@gmail.com>
Tue, 5 Jul 2011 16:01:16 +0000 (18:01 +0200)
So that it can handle the new CONFIG_PREEMPT_COUNT.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Chris Zankel <chris@zankel.net>
arch/xtensa/Kconfig

index 5d43c1f8ada8b1406e5b7784c063c157274f1155..c346ccdce0df55043dbdac8c87096addc0dd5b37 100644 (file)
@@ -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"