diff mbox

KVM: svm: Fix erratum 383 check for 32-bit hosts

Message ID 4BFCC995.5000303@web.de (mailing list archive)
State New, archived
Headers show

Commit Message

Jan Kiszka May 26, 2010, 7:11 a.m. UTC
None
diff mbox

Patch

diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c
index 3c03c36..fd32791 100644
--- a/arch/x86/kvm/svm.c
+++ b/arch/x86/kvm/svm.c
@@ -1460,7 +1460,7 @@  static bool is_erratum_383(void)
 	/* Bit 62 may or may not be set for this mce */
 	value &= ~(1ULL << 62);
 
-	if (value != 0xb600000000010015)
+	if (value != 0xb600000000010015ULL)
 		return false;
 
 	/* Clear MCi_STATUS registers */