PATCH: mtrr printk levels

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Fri Jul 18 2003 - 09:00:32 EST


diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.6.0-test1/arch/i386/kernel/cpu/mtrr/cyrix.c linux-2.6.0-test1-ac2/arch/i386/kernel/cpu/mtrr/cyrix.c
--- linux-2.6.0-test1/arch/i386/kernel/cpu/mtrr/cyrix.c 2003-07-10 21:10:26.000000000 +0100
+++ linux-2.6.0-test1-ac2/arch/i386/kernel/cpu/mtrr/cyrix.c 2003-07-15 18:05:00.000000000 +0100
@@ -330,16 +330,16 @@
         set_mtrr_done(&ctxt); /* flush cache and disable MAPEN */
 
         if (ccrc[5])
- printk("mtrr: ARR usage was not enabled, enabled manually\n");
+ printk(KERN_INFO "mtrr: ARR usage was not enabled, enabled manually\n");
         if (ccrc[3])
- printk("mtrr: ARR3 cannot be changed\n");
+ printk(KERN_INFO "mtrr: ARR3 cannot be changed\n");
 /*
     if ( ccrc[1] & 0x80) printk ("mtrr: SMM memory access through ARR3 disabled\n");
     if ( ccrc[1] & 0x04) printk ("mtrr: SMM memory access disabled\n");
     if ( ccrc[1] & 0x02) printk ("mtrr: SMM mode disabled\n");
 */
         if (ccrc[6])
- printk("mtrr: ARR3 was write protected, unprotected\n");
+ printk(KERN_INFO "mtrr: ARR3 was write protected, unprotected\n");
 }
 
 static struct mtrr_ops cyrix_mtrr_ops = {
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Jul 23 2003 - 22:00:33 EST