]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0e6f7a67fefa99cc921abcaafe06d3edf8175187
treed37d8d710e0094f0eae084b564458fa1d1bee798
parentf4778dda7781f540a2c091eb988fd3ceec8bc918
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