powerpc: Don't do generic calibrate_delay()
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 9 Jun 2009 21:12:00 +0000 (21:12 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 15 Jun 2009 03:26:17 +0000 (13:26 +1000)
commit177996e6e20f15004d6757d9b859f57d181ef443
treec5940dd81e7ba4e571d7804a574d73a47e8bef5f
parent529273c1ad5f591d066a9d90a6bd6affa19c5461
powerpc: Don't do generic calibrate_delay()

Currently we are wasting time calling the generic calibrate_delay()
function. We don't need it since our implementation of __delay() is
based on the CPU timebase. So instead, we use our own small
implementation that initializes loops_per_jiffy to something sensible
to make the few users like spinlock debug be happy

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/Kconfig
arch/powerpc/kernel/time.c