Commit 4397e63e authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] cosmetic printk fix

From: Arjan van de Ven <arjanv@redhat.com>

One of my machines prints the following in dmesg during boot;

CPU: Trace cache: 4K uops<6>CPU: L2 cache: 256K

cause is a missing \n being printed; fix below.
parent 39c203fd
...@@ -231,6 +231,8 @@ static void __init init_intel(struct cpuinfo_x86 *c) ...@@ -231,6 +231,8 @@ static void __init init_intel(struct cpuinfo_x86 *c)
printk (KERN_INFO "CPU: L1 I cache: %dK", l1i); printk (KERN_INFO "CPU: L1 I cache: %dK", l1i);
if ( l1d ) if ( l1d )
printk(", L1 D cache: %dK\n", l1d); printk(", L1 D cache: %dK\n", l1d);
else
printk("\n");
if ( l2 ) if ( l2 )
printk(KERN_INFO "CPU: L2 cache: %dK\n", l2); printk(KERN_INFO "CPU: L2 cache: %dK\n", l2);
if ( l3 ) if ( l3 )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment