]> err.no Git - linux-2.6/commitdiff
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 74ec2ea4ed3e8c68d130ea1870d700b555882041..353efe4f5017aeaf8c75abcf97639dd8b07dc2d1 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;