Signed-off-by: Sheng Yang <[EMAIL PROTECTED]>
---
 kernel/x86/external-module-compat.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/kernel/x86/external-module-compat.h 
b/kernel/x86/external-module-compat.h
index 882f5d1..b5e11e2 100644
--- a/kernel/x86/external-module-compat.h
+++ b/kernel/x86/external-module-compat.h
@@ -335,6 +335,8 @@ struct kvm_desc_ptr {
 #define FEATURE_CONTROL_VMXON_ENABLED  (1<<2)
 #endif
 
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,29)
+
 struct mtrr_var_range {
        u32 base_lo;
        u32 base_hi;
@@ -342,8 +344,6 @@ struct mtrr_var_range {
        u32 mask_hi;
 };
 
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,29)
-
 /* In the Intel processor's MTRR interface, the MTRR type is always held in
    an 8 bit field: */
 typedef u8 mtrr_type;
-- 
1.5.4.5

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

Reply via email to