浏览代码

[PATCH] Remove bogus warning from early_ioremap

It is correct for its only caller right now, but not for possible
future others.

Signed-off-by: Andi Kleen <ak@suse.de>
Andi Kleen 18 年之前
父节点
当前提交
d3cf7f0615
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      arch/x86_64/mm/init.c

+ 0 - 1
arch/x86_64/mm/init.c

@@ -229,7 +229,6 @@ __init void *early_ioremap(unsigned long addr, unsigned long size)
 
 
 	/* actually usually some more */
 	/* actually usually some more */
 	if (size >= LARGE_PAGE_SIZE) { 
 	if (size >= LARGE_PAGE_SIZE) { 
-		printk("SMBIOS area too long %lu\n", size);
 		return NULL;
 		return NULL;
 	}
 	}
 	set_pmd(temp_mappings[0].pmd,  __pmd(map | _KERNPG_TABLE | _PAGE_PSE));
 	set_pmd(temp_mappings[0].pmd,  __pmd(map | _KERNPG_TABLE | _PAGE_PSE));