diff options
-rw-r--r-- | arch/x86/kernel/cpu/mcheck/mce_64.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/x86/kernel/cpu/mcheck/mce_64.c b/arch/x86/kernel/cpu/mcheck/mce_64.c index 268b05edade7..60a114ca14f6 100644 --- a/arch/x86/kernel/cpu/mcheck/mce_64.c +++ b/arch/x86/kernel/cpu/mcheck/mce_64.c | |||
@@ -136,11 +136,11 @@ static void print_mce(struct mce *m) | |||
136 | print_symbol("{%s}", m->ip); | 136 | print_symbol("{%s}", m->ip); |
137 | printk("\n"); | 137 | printk("\n"); |
138 | } | 138 | } |
139 | printk(KERN_EMERG "TSC %Lx ", m->tsc); | 139 | printk(KERN_EMERG "TSC %llx ", m->tsc); |
140 | if (m->addr) | 140 | if (m->addr) |
141 | printk("ADDR %Lx ", m->addr); | 141 | printk("ADDR %llx ", m->addr); |
142 | if (m->misc) | 142 | if (m->misc) |
143 | printk("MISC %Lx ", m->misc); | 143 | printk("MISC %llx ", m->misc); |
144 | printk("\n"); | 144 | printk("\n"); |
145 | printk(KERN_EMERG "This is not a software problem!\n"); | 145 | printk(KERN_EMERG "This is not a software problem!\n"); |
146 | printk(KERN_EMERG "Run through mcelog --ascii to decode " | 146 | printk(KERN_EMERG "Run through mcelog --ascii to decode " |
@@ -945,7 +945,7 @@ static ssize_t show_bank(struct sys_device *s, struct sysdev_attribute *attr, | |||
945 | char *buf) | 945 | char *buf) |
946 | { | 946 | { |
947 | u64 b = bank[attr - bank_attrs]; | 947 | u64 b = bank[attr - bank_attrs]; |
948 | return sprintf(buf, "%Lx\n", b); | 948 | return sprintf(buf, "%llx\n", b); |
949 | } | 949 | } |
950 | 950 | ||
951 | static ssize_t set_bank(struct sys_device *s, struct sysdev_attribute *attr, | 951 | static ssize_t set_bank(struct sys_device *s, struct sysdev_attribute *attr, |