Messages in this thread Patch in this message | | | Subject | [PATCH] Replace Dprintk with pr_debug from kernel.h - boot.c | From | Daniele Pizzoni <> | Date | Mon, 18 Oct 2004 21:43:04 +0200 |
| |
Replaced Dprintk with pr_debug from kernel.h Compile tested
Signed-off-by: Daniele Pizzoni <auouo@tin.it>
Index: linux-2.6.9-rc4/arch/i386/kernel/acpi/boot.c =================================================================== --- linux-2.6.9-rc4.orig/arch/i386/kernel/acpi/boot.c 2004-10-18 19:41:13.000000000 +0200 +++ linux-2.6.9-rc4/arch/i386/kernel/acpi/boot.c 2004-10-18 21:20:18.712354096 +0200 @@ -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); }
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |