aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m32r/Kconfig
diff options
context:
space:
mode:
authorFrederic Weisbecker <fweisbec@gmail.com>2011-07-05 10:29:40 -0400
committerFrederic Weisbecker <fweisbec@gmail.com>2011-07-05 12:01:15 -0400
commitdab16ae1a9fc72a9f419f2dff91854e452d02a5e (patch)
treef3abb00d4fe24f2342d2636923afb3706c9172ff /arch/m32r/Kconfig
parent1ecc818c51b1f6886825dae3885792d5e49ec798 (diff)
m32r: Use generic PREEMPT config
Use the generic preempt config definition in m32r instead of using a custom one. This also makes it handle the new CONFIG_PREEMPT_COUNT that need to be selected by CONFIG_PREEMPT. Without that it breaks kernel/sched.c: In function 'preempt_schedule': kernel/sched.c:4364: error: implicit declaration of function 'add_preempt_count_notrace' kernel/sched.c:4366: error: implicit declaration of function 'sub_preempt_count_notrace' Reported-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com> Cc: Hirokazu Takata <takata@linux-m32r.org>
Diffstat (limited to 'arch/m32r/Kconfig')
-rw-r--r--arch/m32r/Kconfig12
1 files changed, 1 insertions, 11 deletions
diff --git a/arch/m32r/Kconfig b/arch/m32r/Kconfig
index 85b44e85822..b92b9445255 100644
--- a/arch/m32r/Kconfig
+++ b/arch/m32r/Kconfig
@@ -268,17 +268,7 @@ config SCHED_OMIT_FRAME_POINTER
268 bool 268 bool
269 default y 269 default y
270 270
271config PREEMPT 271source "kernel/Kconfig.preempt"
272 bool "Preemptible Kernel"
273 help
274 This option reduces the latency of the kernel when reacting to
275 real-time or interactive events by allowing a low priority process to
276 be preempted even if it is in kernel mode executing a system call.
277 This allows applications to run more reliably even when the system is
278 under load.
279
280 Say Y here if you are building a kernel for a desktop, embedded
281 or real-time system. Say N if you are unsure.
282 272
283config SMP 273config SMP
284 bool "Symmetric multi-processing support" 274 bool "Symmetric multi-processing support"