mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Replace Dprintk with pr_debug from kernel.h - boot.c
@ 2004-10-18 19:43 Daniele Pizzoni
  0 siblings, 0 replies; only message in thread
From: Daniele Pizzoni @ 2004-10-18 19:43 UTC (permalink / raw)
  To: Len Brown; +Cc: kernel-janitors, LKML

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);
 			}



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-10-18 20:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-18 19:43 [PATCH] Replace Dprintk with pr_debug from kernel.h - boot.c Daniele Pizzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®