summaryrefslogtreecommitdiff
path: root/target-i386
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2009-07-10 13:39:34 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2009-07-10 13:41:20 -0500
commite6a0575e98179167bc5f7ab792c3d19f9852ee5f (patch)
tree32f7d3f71a7b43cea5de1f9c3c1d65556a7eab91 /target-i386
parent7d8abfcb50a33aed369bbd267852cf04009c49e9 (diff)
downloadqemu-e6a0575e98179167bc5f7ab792c3d19f9852ee5f.tar.gz
Make sure to mark MCE defines as ULL
Fixes build on 32-bit Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'target-i386')
-rw-r--r--target-i386/cpu.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/target-i386/cpu.h b/target-i386/cpu.h
index 6f7478a711..372fe3169b 100644
--- a/target-i386/cpu.h
+++ b/target-i386/cpu.h
@@ -256,11 +256,11 @@
#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