]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
powerpc: Only print clockevent settings once
authorAnton Blanchard <anton@samba.org>
Sun, 7 Feb 2010 19:26:29 +0000 (19:26 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 9 Feb 2010 02:56:24 +0000 (13:56 +1100)
The clockevent multiplier and shift is useful information, but we
only need to print it once.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/time.c

index 0a5b1081a50ea9d536805347003353506d953c82..ed1c0f58344ab5794a3051ec0f75375142d4f8b7 100644 (file)
@@ -935,8 +935,8 @@ static void register_decrementer_clockevent(int cpu)
        *dec = decrementer_clockevent;
        dec->cpumask = cpumask_of(cpu);
 
-       printk(KERN_DEBUG "clockevent: %s mult[%x] shift[%d] cpu[%d]\n",
-              dec->name, dec->mult, dec->shift, cpu);
+       printk_once(KERN_DEBUG "clockevent: %s mult[%x] shift[%d] cpu[%d]\n",
+                   dec->name, dec->mult, dec->shift, cpu);
 
        clockevents_register_device(dec);
 }