瀏覽代碼

x86: tom2 warning fix

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Ingo Molnar 17 年之前
父節點
當前提交
a7c7d0e91d
共有 1 個文件被更改,包括 4 次插入2 次删除
  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;