Add the SVM capability to the external module compat header, so we can use it
when the kernel does not know about this define.
Signed-off-by: Alexander Graf <[EMAIL PROTECTED]>
---
kernel/x86/external-module-compat.h | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/kernel/x86/external-module-compat.h
b/kernel/x86/external-module-compat.h
index c53e0d6..c4def59 100644
--- a/kernel/x86/external-module-compat.h
+++ b/kernel/x86/external-module-compat.h
@@ -201,6 +201,10 @@ static inline void preempt_notifier_sys_exit(void) {}
#define X86_FEATURE_NX (1*32+20)
#endif
+#ifndef X86_FEATURE_SVM
+#define X86_FEATURE_SVM (6*32+2)
+#endif
+
#undef true
#define true 1
#undef false
--
1.5.6
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html