summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/time.c
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2010-02-07 19:26:29 +0000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2010-02-09 13:56:24 +1100
commitb919ee827e048826786fd7e889a2b04f63382fe6 (patch)
tree4c4477ad0855f10ac2ee42bfe8238f43c5840978 /arch/powerpc/kernel/time.c
parent44c9f3cc1a07503b653b571eac5792436da39a30 (diff)
downloadlinux-stable-b919ee827e048826786fd7e889a2b04f63382fe6.tar.gz
linux-stable-b919ee827e048826786fd7e889a2b04f63382fe6.tar.bz2
linux-stable-b919ee827e048826786fd7e889a2b04f63382fe6.zip
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>
Diffstat (limited to 'arch/powerpc/kernel/time.c')
-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)
*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);
}