Blackfin: drop per-cpu loops_per_jiffy tracking
authorMichael Hennerich <michael.hennerich@analog.com>
Thu, 9 Jul 2009 09:58:52 +0000 (09:58 +0000)
committerMike Frysinger <vapier@gentoo.org>
Thu, 16 Jul 2009 05:52:44 +0000 (01:52 -0400)
commitc70c754ff916cedd969a73549799d2167ffefcd6
treed37d8d710e0094f0eae084b564458fa1d1bee798
parentc03c2a87347b849ec927d7d2ea79a6955e19f492
Blackfin: drop per-cpu loops_per_jiffy tracking

On Blackfin SMP, a per-cpu loops_per_jiffy is pointless since both cores
always run at the same CCLK.  In addition, the current implementation has
flaws since the main consumer for loops_per_jiffy (asm/delay.h) uses the
global kernel loops_per_jiffy and not the per_cpu one.  So punt all of the
per-cpu handling and go back to the global shared one.

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/include/asm/cpu.h
arch/blackfin/kernel/setup.c
arch/blackfin/mach-common/smp.c