|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] x86 amd: Fix after MSR cleanup
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1276271962 -3600
# Node ID 7706fb5cd87c0ff949c03e172f6aebf5a2a3fbb5
# Parent 9f49e979459661bbefadfd466192fe344b71f133
x86 amd: Fix after MSR cleanup
Signed-off-by: Christoph Egger <Christoph.Egger@xxxxxxx>
---
xen/arch/x86/cpu/amd.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff -r 9f49e9794596 -r 7706fb5cd87c xen/arch/x86/cpu/amd.c
--- a/xen/arch/x86/cpu/amd.c Fri Jun 11 15:22:12 2010 +0100
+++ b/xen/arch/x86/cpu/amd.c Fri Jun 11 16:59:22 2010 +0100
@@ -243,8 +243,8 @@ static void disable_c1e(void *unused)
* but we safely catch the #GP in that case.
*/
if ((rdmsr_safe(MSR_K8_ENABLE_C1E, msr_content) == 0) &&
- (msr_content & (3u << 27)) &&
- (wrmsr_safe(MSR_K8_ENABLE_C1E, msr_content & ~(3u << 27)) != 0))
+ (msr_content & (3ULL << 27)) &&
+ (wrmsr_safe(MSR_K8_ENABLE_C1E, msr_content & ~(3ULL << 27)) != 0))
printk(KERN_ERR "Failed to disable C1E on CPU#%u
(%16"PRIx64")\n",
smp_processor_id(), msr_content);
}
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] x86 amd: Fix after MSR cleanup,
Xen patchbot-unstable <=
|
|
|
|
|