瀏覽代碼

x86: remove redundant KERN_DEBUG on pr_debug

pr_debug don't need KERN_DEBUG.

Signed-off-by: Gustavo F. Padovan <gustavo@las.ic.unicamp.br>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Gustavo F. Padovan 16 年之前
父節點
當前提交
55410791c9
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      arch/x86/kernel/acpi/boot.c
  2. 1 1
      arch/x86/kernel/setup_percpu.c

+ 1 - 1
arch/x86/kernel/acpi/boot.c

@@ -1136,7 +1136,7 @@ int mp_register_gsi(u32 gsi, int triggering, int polarity)
 		return gsi;
 		return gsi;
 	}
 	}
 	if (test_bit(ioapic_pin, mp_ioapic_routing[ioapic].pin_programmed)) {
 	if (test_bit(ioapic_pin, mp_ioapic_routing[ioapic].pin_programmed)) {
-		pr_debug(KERN_DEBUG "Pin %d-%d already programmed\n",
+		pr_debug("Pin %d-%d already programmed\n",
 			 mp_ioapic_routing[ioapic].apic_id, ioapic_pin);
 			 mp_ioapic_routing[ioapic].apic_id, ioapic_pin);
 #ifdef CONFIG_X86_32
 #ifdef CONFIG_X86_32
 		return (gsi < IRQ_COMPRESSION_START ? gsi : gsi_to_irq[gsi]);
 		return (gsi < IRQ_COMPRESSION_START ? gsi : gsi_to_irq[gsi]);

+ 1 - 1
arch/x86/kernel/setup_percpu.c

@@ -218,7 +218,7 @@ static void __init setup_node_to_cpumask_map(void)
 	/* allocate the map */
 	/* allocate the map */
 	map = alloc_bootmem_low(nr_node_ids * sizeof(cpumask_t));
 	map = alloc_bootmem_low(nr_node_ids * sizeof(cpumask_t));
 
 
-	pr_debug(KERN_DEBUG "Node to cpumask map at %p for %d nodes\n",
+	pr_debug("Node to cpumask map at %p for %d nodes\n",
 		 map, nr_node_ids);
 		 map, nr_node_ids);
 
 
 	/* node_to_cpumask() will now work */
 	/* node_to_cpumask() will now work */