From: Ingo Molnar Date: Tue, 8 Apr 2008 14:25:42 +0000 (+0200) Subject: x86: tom2 warning fix X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a7c7d0e91daebd7c5e51f9416d612b6a15e7e79a;p=openwrt%2Fstaging%2Fblogic.git x86: tom2 warning fix Signed-off-by: Ingo Molnar --- diff --git a/arch/x86/kernel/cpu/mtrr/generic.c b/arch/x86/kernel/cpu/mtrr/generic.c index 74ec2ea4ed3e..353efe4f5017 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;