]> git.proxmox.com Git - qemu.git/commitdiff
Make sure to mark MCE defines as ULL
authorAnthony Liguori <aliguori@us.ibm.com>
Fri, 10 Jul 2009 18:39:34 +0000 (13:39 -0500)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 10 Jul 2009 18:41:20 +0000 (13:41 -0500)
Fixes build on 32-bit

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
target-i386/cpu.h

index 6f7478a71139e4e82cdcfe88bf91a1670a8ba263..372fe3169b65aaf21086ba8cb0e4e1d2945301d5 100644 (file)
 #define MCE_CAP_DEF    MCG_CTL_P
 #define MCE_BANKS_DEF  10
 
-#define MCG_STATUS_MCIP        (1UL<<2)   /* machine check in progress */
+#define MCG_STATUS_MCIP        (1ULL<<2)   /* machine check in progress */
 
-#define MCI_STATUS_VAL (1UL<<63)  /* valid error */
-#define MCI_STATUS_OVER        (1UL<<62)  /* previous errors lost */
-#define MCI_STATUS_UC  (1UL<<61)  /* uncorrected error */
+#define MCI_STATUS_VAL (1ULL<<63)  /* valid error */
+#define MCI_STATUS_OVER        (1ULL<<62)  /* previous errors lost */
+#define MCI_STATUS_UC  (1ULL<<61)  /* uncorrected error */
 
 #define MSR_IA32_TSC                    0x10
 #define MSR_IA32_APICBASE               0x1b