From e98c3202916d30f0e6f59735801baa69bc3348ac Mon Sep 17 00:00:00 2001 From: Avi Kivity Date: Tue, 16 Oct 2007 23:27:31 -0700 Subject: [PATCH] Move PREEMPT_NOTIFIERS into an always-included Kconfig 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 Cc: Geert Uytterhoeven Signed-off-by: Avi Kivity Cc: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- init/Kconfig | 3 +++ kernel/Kconfig.preempt | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/init/Kconfig b/init/Kconfig index 54f31a191b8..a29a688c47d 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -689,3 +689,6 @@ config STOP_MACHINE Need stop_machine() primitive. source "block/Kconfig" + +config PREEMPT_NOTIFIERS + bool diff --git a/kernel/Kconfig.preempt b/kernel/Kconfig.preempt index 6b066632e40..c64ce9c1420 100644 --- a/kernel/Kconfig.preempt +++ b/kernel/Kconfig.preempt @@ -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 - -- 2.41.1