* [PATCH 1/1] kvm: fix external module on mtrr_var_range
@ 2008-11-05 3:33 Sheng Yang
2008-11-05 9:16 ` Avi Kivity
0 siblings, 1 reply; 2+ messages in thread
From: Sheng Yang @ 2008-11-05 3:33 UTC (permalink / raw)
To: Avi Kivity; +Cc: kvm, Sheng Yang
Signed-off-by: Sheng Yang <sheng@linux.intel.com>
---
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-11-05 9:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-05 3:33 [PATCH 1/1] kvm: fix external module on mtrr_var_range Sheng Yang
2008-11-05 9:16 ` Avi Kivity
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox