x86: tom2 warning fix
authorIngo Molnar <mingo@elte.hu>
Tue, 8 Apr 2008 14:25:42 +0000 (16:25 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 17 Apr 2008 15:41:20 +0000 (17:41 +0200)
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/mtrr/generic.c

index 74ec2ea..353efe4 100644 (file)
@@ -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;