Browse Source

x86: tom2 warning fix

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Ingo Molnar 17 years ago
parent
commit
a7c7d0e91d
1 changed files with 4 additions and 2 deletions
  1. 4 2
      arch/x86/kernel/cpu/mtrr/generic.c

+ 4 - 2
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;