>From abbb464f0c2dd9681c4380598a1ac098d024b576 Mon Sep 17 00:00:00 2001
From: Zachary Amsden <[email protected]>
Date: Tue, 25 May 2010 16:33:47 -1000
Subject: [PATCH 3/5] Fix AMD module build failure because of undefined MSR

Signed-off-by: Zachary Amsden <[email protected]>
---
 x86/external-module-compat.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/x86/external-module-compat.h b/x86/external-module-compat.h
index 316f7ff..e7ed07b 100644
--- a/x86/external-module-compat.h
+++ b/x86/external-module-compat.h
@@ -872,3 +872,7 @@ static inline void fpu_save_init(struct fpu *fpu)
        kvm_fx_restore(&fpu->state->host_fx_image);
 }
 #endif
+
+#ifndef MSR_AMD64_DC_CFG
+#define MSR_AMD64_DC_CFG               0xc0011022 
+#endif
-- 
1.7.0.1

Reply via email to