diff options
author | Anton Blanchard <anton@samba.org> | 2010-02-07 20:26:29 +0100 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2010-02-09 03:56:24 +0100 |
commit | b919ee827e048826786fd7e889a2b04f63382fe6 (patch) | |
tree | 4c4477ad0855f10ac2ee42bfe8238f43c5840978 /arch/powerpc/kernel | |
parent | powerpc: Clear MSR_RI during RTAS calls (diff) | |
download | linux-b919ee827e048826786fd7e889a2b04f63382fe6.tar.xz 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')
-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); } |