Skip to contentSkip to conversation

x86: apic - use pr_ macro

PATCH In review Cyrill Gorcunov 1 participant 2 messages May 1, 2009 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86: apic - use pr_ macro

Replace recenly appeared printk with pr_ macro
(the file already use a lot of them).

[ Impact: cleanup ]

---
 arch/x86/kernel/apic/apic.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/kernel/apic/apic.c +1 -1
Index: linux-2.6.git/arch/x86/kernel/apic/apic.c
=====================================================================
@@ -2195,7 +2195,7 @@ static int __cpuinit set_multi(const str
 {
 	if (multi)
 		return 0;
-	printk(KERN_INFO "APIC: %s detected, Multi Chassis\n", d->ident);
+	pr_info("APIC: %s detected, Multi Chassis\n", d->ident);
 	multi = 1;
 	return 0;
 }
#1 lore raw

[tip:x86/apic] x86, apic: use pr_ macro

Commit-ID:  6f0aced639d346e5f54eea9fcb2784b633493d09
Gitweb:     http://git.kernel.org/tip/6f0aced639d346e5f54eea9fcb2784b633493d09
Author:     Cyrill Gorcunov <[email protected]>
AuthorDate: Fri, 1 May 2009 23:54:25 +0400
Committer:  Ingo Molnar <[email protected]>
CommitDate: Fri, 1 May 2009 21:56:25 +0200

x86, apic: use pr_ macro

Replace recenly appeared printk with pr_ macro (the file already use a lot of them).

[ Impact: cleanup ]

LKML-Reference: <20090501195425.GB4633@lenovo>

---
 arch/x86/kernel/apic/apic.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/x86/kernel/apic/apic.c +1 -1
index 28f747d..e258bed 100644
@@ -2191,7 +2191,7 @@ static int __cpuinit set_multi(const struct dmi_system_id *d)
 {
 	if (multi)
 		return 0;
-	printk(KERN_INFO "APIC: %s detected, Multi Chassis\n", d->ident);
+	pr_info("APIC: %s detected, Multi Chassis\n", d->ident);
 	multi = 1;
 	return 0;
 }