aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2010-02-07 14:26:29 -0500
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2010-02-08 21:56:24 -0500
commitb919ee827e048826786fd7e889a2b04f63382fe6 (patch)
tree4c4477ad0855f10ac2ee42bfe8238f43c5840978
parent44c9f3cc1a07503b653b571eac5792436da39a30 (diff)
powerpc: Only print clockevent settings once
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>
-rw-r--r--arch/powerpc/kernel/time.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/time.c b/arch/powerpc/kernel/time.c
index 0a5b1081a50e..ed1c0f58344a 100644
--- a/arch/powerpc/kernel/time.c
+++ b/arch/powerpc/kernel/time.c
@@ -935,8 +935,8 @@ static void register_decrementer_clockevent(int cpu)
935 *dec = decrementer_clockevent; 935 *dec = decrementer_clockevent;
936 dec->cpumask = cpumask_of(cpu); 936 dec->cpumask = cpumask_of(cpu);
937 937
938 printk(KERN_DEBUG "clockevent: %s mult[%x] shift[%d] cpu[%d]\n", 938 printk_once(KERN_DEBUG "clockevent: %s mult[%x] shift[%d] cpu[%d]\n",
939 dec->name, dec->mult, dec->shift, cpu); 939 dec->name, dec->mult, dec->shift, cpu);
940 940
941 clockevents_register_device(dec); 941 clockevents_register_device(dec);
942} 942}