[PATCH] include KERN_* constant in printk() calls in arch/i386/mach-default/setup.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



include KERN_* constant in printk() calls in arch/i386/mach-default/setup.c

Signed-off-by: Matthias Kaehlcke <[email protected]>
 
---
diff --git a/arch/i386/mach-default/setup.c b/arch/i386/mach-default/setup.c
index c788162..f1891b6 100644
--- a/arch/i386/mach-default/setup.c
+++ b/arch/i386/mach-default/setup.c
@@ -115,15 +115,15 @@ void mca_nmi_hook(void)
 	 * at the moment.
 	 */
 
-	printk("NMI generated from unknown source!\n");
+	printk(KERN_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");
+	printk(KERN_INFO "Using %s mode\n",
+	       no_broadcast ? "No IPI Broadcast" : "IPI Broadcast");
 	return 1;
 }
 
@@ -131,8 +131,8 @@ __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");
+	printk(KERN_INFO "Using IPI %s mode\n",
+	       no_broadcast ? "No-Shortcut" : "Shortcut");
 	return 0;
 }
 

-- 
Matthias Kaehlcke
Linux Application Developer
Barcelona

              Comunicar bichos a <[email protected]>
                     (LANG=es_ES uname --help)
                                                                 .''`.
    using free software / Debian GNU/Linux | http://debian.org  : :'  :
                                                                `. `'`
gpg --keyserver pgp.mit.edu --recv-keys 47D8E5D4                  `-
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux