lkml.org 
[lkml]   [2014]   [Nov]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [tip:x86/apic] x86, irq: Replace printk(KERN_LVL) with pr_lvl() utilities
From
Date
On Wed, 2014-11-05 at 08:37 -0800, tip-bot for Jiang Liu wrote:
> x86, irq: Replace printk(KERN_LVL) with pr_lvl() utilities
>
> Replace printk(KENR_LVL) with pr_lvl() to keep checkpatch script silent.

This is actually a small behavioral change.

pr_debug is not quite the same as printk(KERN_DEBUG
pr_debug is not performed unless dynamic_debug is
enabled or a #define DEBUG is set.

> diff --git a/arch/x86/kernel/apic/vector.c b/arch/x86/kernel/apic/vector.c
[]
> @@ -504,28 +504,27 @@ static void __init print_local_APIC(void *dummy)
> unsigned int i, v, ver, maxlvt;
> u64 icr;
>
> - printk(KERN_DEBUG "printing local APIC contents on CPU#%d/%d:\n",
> - smp_processor_id(), hard_smp_processor_id());
> + pr_debug("printing local APIC contents on CPU#%d/%d:\n",
> + smp_processor_id(), hard_smp_processor_id());





\
 
 \ /
  Last update: 2014-11-05 18:01    [W:0.120 / U:2.320 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site