Skip to contentSkip to conversation

Replace Dprintk with pr_debug from kernel.h - boot.c

PATCH New Daniele Pizzoni 1 participant 1 message Oct 18, 2004 Kernel janitors

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Replace Dprintk with pr_debug from kernel.h - boot.c

Replaced Dprintk with pr_debug from kernel.h
Compile tested

arch/i386/kernel/acpi/boot.c +3 -1
Index: linux-2.6.9-rc4/arch/i386/kernel/acpi/boot.c
===================================================================
@@ -23,6 +23,8 @@
  * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  */
 
+//#define DEBUG // pr_debug
+#include <linux/kernel.h>
 #include <linux/init.h>
 #include <linux/config.h>
 #include <linux/acpi.h>
@@ -461,7 +463,7 @@ unsigned int acpi_register_gsi(u32 gsi, 
 
 		if (edge_level == ACPI_LEVEL_SENSITIVE) {
 			if ((gsi < 16) && !((1 << gsi) & irq_mask)) {
-				Dprintk(KERN_DEBUG PREFIX "Setting GSI %u as level-triggered\n", gsi);
+				pr_debug(PREFIX "Setting GSI %u as level-triggered\n", gsi);
 				irq_mask |= (1 << gsi);
 				eisa_set_level_irq(gsi);
 			}

_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors