repository: /home/avi/kvm
branch: master
commit fb81ce99e4eabe3dbb6fd30592425aa5f52a7f19
Author: Avi Kivity <[EMAIL PROTECTED]>
Date:   Wed Nov 21 18:54:13 2007 +0200

    kvm: external module: desc_struct compatibility
    
    Signed-off-by: Avi Kivity <[EMAIL PROTECTED]>

diff --git a/kernel/external-module-compat.h b/kernel/external-module-compat.h
index e3f81fe..90ed32c 100644
--- a/kernel/external-module-compat.h
+++ b/kernel/external-module-compat.h
@@ -3,6 +3,13 @@
  * Compatibility header for building as an external module.
  */
 
+/* use own set of desc_struct, desc_ptr */
+
+#define desc_struct kvm_desc_struct
+#define desc_ptr kvm_desc_ptr
+
+#include <asm/desc_defs.h>
+
 /*
  * Avoid picking up the kernel's kvm.h in case we have a newer one.
  */

-------------------------------------------------------------------------
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