kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 3/4] AMD module build failure
@ 2010-05-26  3:35 Zachary Amsden
  2010-05-26  7:34 ` Jan Kiszka
  0 siblings, 1 reply; 2+ messages in thread
From: Zachary Amsden @ 2010-05-26  3:35 UTC (permalink / raw)
  To: kvm, Jan Kiszka, Avi Kivity, Gleb Natapov

[-- Attachment #1: Type: text/plain, Size: 1 bytes --]



[-- Attachment #2: 0003-Fix-AMD-module-build-failure-because-of-undefined-MS.patch --]
[-- Type: text/plain, Size: 764 bytes --]

>From abbb464f0c2dd9681c4380598a1ac098d024b576 Mon Sep 17 00:00:00 2001
From: Zachary Amsden <zamsden@redhat.com>
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 <zamsden@redhat.com>
---
 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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-05-26  7:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-26  3:35 [PATCH 3/4] AMD module build failure Zachary Amsden
2010-05-26  7:34 ` Jan Kiszka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).