]> err.no Git - linux-2.6/commitdiff
Move PREEMPT_NOTIFIERS into an always-included Kconfig
authorAvi Kivity <avi@qumranet.com>
Wed, 17 Oct 2007 06:27:31 +0000 (23:27 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 17 Oct 2007 15:42:55 +0000 (08:42 -0700)
Kconfig.preempt is not included on some archs (for example, m68k).  On those
archs, the Kconfig machinery complains that KVM selects an undefined symbol
PREEMPT_NOTIFIERS (which lives in Kconfig.preempt).

So move the offending symbol into a Kconfig file which is included by
everyone.

Cc: Roman Zippel <zippel@linux-m68k.org>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Avi Kivity <avi@qumranet.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
init/Kconfig
kernel/Kconfig.preempt

index 54f31a191b8813a1bac92190cd237023c30a684d..a29a688c47d3128dc63fed1c70e799351ca38449 100644 (file)
@@ -689,3 +689,6 @@ config STOP_MACHINE
          Need stop_machine() primitive.
 
 source "block/Kconfig"
+
+config PREEMPT_NOTIFIERS
+       bool
index 6b066632e40c2a9f0621d487d0caf5a7700c7b41..c64ce9c14207644bfc07c5f2c729f5fe9b66c5b6 100644 (file)
@@ -63,6 +63,3 @@ config PREEMPT_BKL
          Say Y here if you are building a kernel for a desktop system.
          Say N if you are unsure.
 
-config PREEMPT_NOTIFIERS
-       bool
-