diff options
author | Cyrill Gorcunov <gorcunov@gmail.com> | 2008-12-27 17:10:18 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-12-29 13:18:39 +0100 |
commit | c805b7300ed20ec4f10ea385988d6d3fa935b26c (patch) | |
tree | 569326e11f85f10180ad1fabade13e66d2a70613 /arch/x86 | |
parent | 75329f1f0c0e2e2ad611734a2ef08309391a4d9f (diff) |
x86: mach-default setup.c cleanups
Impact: cleanup
- Break long lines into shorter form.
- Use pr_ macros instead of plain printk.
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/mach-default/setup.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/arch/x86/mach-default/setup.c b/arch/x86/mach-default/setup.c index 37b9ae4d44c5..df167f265622 100644 --- a/arch/x86/mach-default/setup.c +++ b/arch/x86/mach-default/setup.c @@ -133,29 +133,28 @@ void __init time_init_hook(void) **/ void mca_nmi_hook(void) { - /* If I recall correctly, there's a whole bunch of other things that + /* + * If I recall correctly, there's a whole bunch of other things that * we can do to check for NMI problems, but that's all I know about * at the moment. */ - - printk("NMI generated from unknown source!\n"); + pr_warning("NMI generated from unknown source!\n"); } #endif static __init int no_ipi_broadcast(char *str) { get_option(&str, &no_broadcast); - printk ("Using %s mode\n", no_broadcast ? "No IPI Broadcast" : - "IPI Broadcast"); + pr_info("Using %s mode\n", + no_broadcast ? "No IPI Broadcast" : "IPI Broadcast"); return 1; } - __setup("no_ipi_broadcast=", no_ipi_broadcast); static int __init print_ipi_mode(void) { - printk ("Using IPI %s mode\n", no_broadcast ? "No-Shortcut" : - "Shortcut"); + pr_info("Using IPI %s mode\n", + no_broadcast ? "No-Shortcut" : "Shortcut"); return 0; } |