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>
This commit is contained in:
parent
44c9f3cc1a
commit
b919ee827e
|
@ -935,8 +935,8 @@ static void register_decrementer_clockevent(int cpu)
|
||||||
*dec = decrementer_clockevent;
|
*dec = decrementer_clockevent;
|
||||||
dec->cpumask = cpumask_of(cpu);
|
dec->cpumask = cpumask_of(cpu);
|
||||||
|
|
||||||
printk(KERN_DEBUG "clockevent: %s mult[%x] shift[%d] cpu[%d]\n",
|
printk_once(KERN_DEBUG "clockevent: %s mult[%x] shift[%d] cpu[%d]\n",
|
||||||
dec->name, dec->mult, dec->shift, cpu);
|
dec->name, dec->mult, dec->shift, cpu);
|
||||||
|
|
||||||
clockevents_register_device(dec);
|
clockevents_register_device(dec);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue