mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Daniele Pizzoni <auouo@tin.it>
To: kernel-janitors <kernel-janitors@lists.osdl.org>
Cc: LKML <linux-kernel@vger.kernel.org>, Ingo Molnar <mingo@elte.hu>
Subject: [PATCH 1/8] replacing/fixing printk with pr_debug/pr_info in arch/i386 - boot.c
Date: Sun, 17 Oct 2004 19:10:46 +0200	[thread overview]
Message-ID: <1098032557.3023.112.camel@pdp11.tsho.org> (raw)

Replace custom macro Dprintk with pr_debug from kernel.h.
Use  pr_info when appropriate.
Fix consistency of printks.

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-17 16:56:59.908679824 +0200
+++ linux-2.6.9-rc4/arch/i386/kernel/acpi/boot.c	2004-10-17 17:01:22.980686800 +0200
@@ -204,7 +204,7 @@ acpi_parse_madt (
 	if (madt->lapic_address) {
 		acpi_lapic_addr = (u64) madt->lapic_address;
 
-		printk(KERN_DEBUG PREFIX "Local APIC address 0x%08x\n",
+		pr_info(PREFIX "Local APIC address 0x%08x\n",
 			madt->lapic_address);
 	}
 
@@ -461,7 +461,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);
 			}
@@ -544,14 +544,14 @@ static int __init acpi_parse_hpet(unsign
         vxtime.hpet_address = hpet_tbl->addr.addrl |
                 ((long) hpet_tbl->addr.addrh << 32);
 
-        printk(KERN_INFO PREFIX "HPET id: %#x base: %#lx\n",
+        pr_info(PREFIX "HPET id: %#x base: %#lx\n",
                hpet_tbl->id, vxtime.hpet_address);
 #else	/* X86 */
 	{
 		extern unsigned long hpet_address;
 
 		hpet_address = hpet_tbl->addr.addrl;
-		printk(KERN_INFO PREFIX "HPET id: %#x base: %#lx\n",
+		pr_info(PREFIX "HPET id: %#x base: %#lx\n",
 			hpet_tbl->id, hpet_address);
 	}
 #endif	/* X86 */
@@ -594,7 +594,7 @@ static int __init acpi_parse_fadt(unsign
 		pmtmr_ioport = fadt->V1_pm_tmr_blk;
 	}
 	if (pmtmr_ioport)
-		printk(KERN_INFO PREFIX "PM-Timer IO Port: %#x\n", pmtmr_ioport);
+		pr_info(PREFIX "PM-Timer IO Port: %#x\n", pmtmr_ioport);
 #endif
 	return 0;
 }
@@ -692,7 +692,7 @@ acpi_parse_madt_ioapic_entries(void)
  	 * if "noapic" boot option, don't look for IO-APICs
 	 */
 	if (skip_ioapic_setup) {
-		printk(KERN_INFO PREFIX "Skipping IOAPIC probe "
+		pr_info(PREFIX "Skipping IOAPIC probe "
 			"due to 'noapic' option.\n");
 		return -ENODEV;
 	}



                 reply	other threads:[~2004-10-17 16:12 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1098032557.3023.112.camel@pdp11.tsho.org \
    --to=auouo@tin.it \
    --cc=kernel-janitors@lists.osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®