aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/kernel/cpu
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-04-08 16:25:42 +0200
committerIngo Molnar <mingo@elte.hu>2008-04-17 17:41:20 +0200
commita7c7d0e91daebd7c5e51f9416d612b6a15e7e79a (patch)
tree3513f090fb12d0be6a2133a5c7734db448135297 /arch/x86/kernel/cpu
parent35605a1027ac630f85a1b95684f7e86b82498cd6 (diff)
x86: tom2 warning fix
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/cpu')
-rw-r--r--arch/x86/kernel/cpu/mtrr/generic.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/x86/kernel/cpu/mtrr/generic.c b/arch/x86/kernel/cpu/mtrr/generic.c
index 74ec2ea4ed3..353efe4f501 100644
--- a/arch/x86/kernel/cpu/mtrr/generic.c
+++ b/arch/x86/kernel/cpu/mtrr/generic.c
@@ -251,8 +251,10 @@ void __init get_mtrr_state(void)
else
printk(KERN_INFO "MTRR %u disabled\n", i);
}
- if (tom2)
- printk(KERN_INFO "TOM2: %016lx aka %ldM\n", tom2, tom2>>20);
+ if (tom2) {
+ printk(KERN_INFO "TOM2: %016llx aka %lldM\n",
+ tom2, tom2>>20);
+ }
}
mtrr_state_set = 1;