[PATCH][PPC] update_process_times simplification
Tom Rini
trini at kernel.crashing.org
Sat Nov 20 02:05:10 EST 2004
On Mon, Nov 15, 2004 at 04:21:00AM -0600, Milton Miller wrote:
> When the update_process_times call was moved out of do_timer for the UP case,
> the replicator didn't track down the hiding and just added ifndef SMP.
>
> This removes the ifdefs and the indirection of calling another file for
> one function in a third file.
>
> I also removed the per-cpu multipler and counter. On some architectures
> (x86 and sparc64) these are set via /proc/profile setup_profiling_timer
> to increase the timer interrupt by a factor over HZ. However, this was
> not not implemented for ppc (like several other architectures), so it
> was just decrementing, testing, and setting per-cpu variables back to 1.
>
> Untested.
> Signed-off-by: Milton Miller <miltonm at bga.com>
Since this is untested, and Linus said he wants bugfixes only until
2.6.10 actually comes out, I'd like to hold this until the 2.6.10
release.
--
Tom Rini
http://gate.crashing.org/~trini/
More information about the Linuxppc-dev
mailing list