repository: /home/avi/kvm
branch: master
commit 6a385c9539f9746d7ff51ef34c064c3eba86448b
Author: Avi Kivity <[EMAIL PROTECTED]>
Date:   Wed Nov 21 19:12:18 2007 +0200

    kvm: external module: munge kvm_desc_struct so regular kernel headers won't 
see it

diff --git a/kernel/external-module-compat.h b/kernel/external-module-compat.h
index e2309dc..5a5bdac 100644
--- a/kernel/external-module-compat.h
+++ b/kernel/external-module-compat.h
@@ -10,6 +10,9 @@
 
 #include <asm/desc_defs.h>
 
+#undef desc_struct
+#undef desc_ptr
+
 /*
  * Avoid picking up the kernel's kvm.h in case we have a newer one.
  */
@@ -565,3 +568,7 @@ static inline void blahblah(void)
 #ifndef X86_FEATURE_NX
 #define X86_FEATURE_NX (1*32+20)
 #endif
+
+#define desc_struct kvm_desc_struct
+#define desc_ptr kvm_desc_ptr
+

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
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