[PARISC] Further updates to timer_interrupt()
authorGrant Grundler <grundler@gsyprf11.external.hp.com>
Sun, 10 Sep 2006 19:57:55 +0000 (12:57 -0700)
committerMatthew Wilcox <willy@parisc-linux.org>
Wed, 4 Oct 2006 12:48:48 +0000 (06:48 -0600)
commit6e5dc42b5add25c94ce0e95da87122f91b4bfdb3
treecf7c584790d4528a441d58641d9e665b94089a8c
parent6b799d9222fef265802b0b6dcc4fb982cc8f55ca
[PARISC] Further updates to timer_interrupt()

This version (relative to the current tree):
o eliminates "while (ticks_elapsed)" loop. It's not needed.
o drop "ticks_elapsed" completely from timer_interrupt().
o Estimates elapsed cycles (based on HZ) to see which kind of
  math we want to use to calculate "cycles_remainder".
o Fixes a bug where we would loose a tick if we decided
  we wanted to skip one interrupt.

Signed-off-by: Grant Grundler <grundler@parisc-linux.org>
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
arch/parisc/kernel/time.c