2006-11-20 22:55:13

by Dave Jones

[permalink] [raw]
Subject: remove duplicate printk

We do the exact same printk about a dozen lines above
with no intermediate printk's.

Signed-off-by: Dave Jones <[email protected]>

--- linux-2.6/arch/i386/kernel/cpu/amd.c~ 2006-11-20 17:53:17.000000000 -0500
+++ linux-2.6/arch/i386/kernel/cpu/amd.c 2006-11-20 17:53:40.000000000 -0500
@@ -104,10 +104,7 @@ static void __cpuinit init_amd(struct cp
f_vide();
rdtscl(d2);
d = d2-d;
-
- /* Knock these two lines out if it debugs out ok */
- printk(KERN_INFO "AMD K6 stepping B detected - ");
- /* -- cut here -- */
+
if (d > 20*K6_BUG_LOOP)
printk("system stability may be impaired when more than 32 MB are used.\n");
else
--
http://www.codemonkey.org.uk