AMD module build failure
PATCH 3/4 AMD module build failure
Quoted 1 line
From
abbb464f0c2dd9681c4380598a1ac098d024b576Mon 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(-)
x86/external-module-compat.h +4 -0
@@ -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
Signature · 1 line
1.7.0.1
Quoted 15 lines · Zachary Amsden
From
abbb464f0c2dd9681c4380598a1ac098d024b576Mon 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 MSRSigned-off-by Zachary Amsden <[email protected]>--- x86/external-module-compat.h | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)x86/external-module-compat.h +0
-0
x86/external-module-compat.h static inline void fpu_save_init(struct fpu *fpu)
Quoted 8 lines
x86/external-module-compat.h +4
-1@@ -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
Thanks, already fixed in next (MSR_IA32_MCx_STATUS was also missing).
Jan