diff options
author | Anton Blanchard <anton@samba.org> | 2010-02-07 19:26:29 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2010-02-09 13:56:24 +1100 |
commit | b919ee827e048826786fd7e889a2b04f63382fe6 (patch) | |
tree | 4c4477ad0855f10ac2ee42bfe8238f43c5840978 /arch/powerpc/kernel/time.c | |
parent | 44c9f3cc1a07503b653b571eac5792436da39a30 (diff) | |
download | blackbird-op-linux-b919ee827e048826786fd7e889a2b04f63382fe6.tar.gz blackbird-op-linux-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.c | 4 |
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); } |