浏览代码

[PATCH] Remove KERN_INFO from middle of printk line

Don't print KERN_INFO in the middle of a printk line.
	printk(KERN_INFO "OEM ID: %s ",str);
is just above this. This is already fixed up in i386 copy.

Signed-off-by: Martin J. Bligh <mbligh@google.com>
Cc: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Tim Hockin 19 年之前
父节点
当前提交
9ff4ced467
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      arch/x86_64/kernel/mpparse.c

+ 2 - 2
arch/x86_64/kernel/mpparse.c

@@ -288,9 +288,9 @@ static int __init smp_read_mpc(struct mp_config_table *mpc)
 
 
 	memcpy(str,mpc->mpc_productid,12);
 	memcpy(str,mpc->mpc_productid,12);
 	str[12]=0;
 	str[12]=0;
-	printk(KERN_INFO "Product ID: %s ",str);
+	printk("Product ID: %s ",str);
 
 
-	printk(KERN_INFO "APIC at: 0x%X\n",mpc->mpc_lapic);
+	printk("APIC at: 0x%X\n",mpc->mpc_lapic);
 
 
 	/* save the local APIC address, it might be non-default */
 	/* save the local APIC address, it might be non-default */
 	if (!acpi_lapic)
 	if (!acpi_lapic)