Messages in this thread Patch in this message |  | | Date | Mon, 20 Nov 2006 17:55:01 -0500 | From | Dave Jones <> | 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 <davej@redhat.com>
--- 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 - 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/
|  |