From: Avi Kivity <[EMAIL PROTECTED]>

some code depends on it now.

Signed-off-by: Avi Kivity <[EMAIL PROTECTED]>

diff --git a/kernel/external-module-compat.h b/kernel/external-module-compat.h
index 67b9cc4..c3f509c 100644
--- a/kernel/external-module-compat.h
+++ b/kernel/external-module-compat.h
@@ -348,6 +348,8 @@ static inline unsigned long long __kvm_cmpxchg64(volatile 
void *ptr,
 #endif
 
 #ifndef CONFIG_PREEMPT_NOTIFIERS
+#define CONFIG_PREEMPT_NOTIFIERS
+#define CONFIG_PREEMPT_NOTIFIERS_COMPAT
 
 struct preempt_notifier;
 
diff --git a/kernel/preempt.c b/kernel/preempt.c
index 2582efa..ed5d1c1 100644
--- a/kernel/preempt.c
+++ b/kernel/preempt.c
@@ -1,5 +1,5 @@
 
-#ifndef CONFIG_PREEMPT_NOTIFIERS
+#ifdef CONFIG_PREEMPT_NOTIFIERS_COMPAT
 
 #include <linux/sched.h>
 #include <linux/percpu.h>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
kvm-commits mailing list
kvm-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-commits

Reply via email to