diff options
author | Grant Grundler <grundler@gsyprf11.external.hp.com> | 2006-09-10 21:57:55 +0200 |
---|---|---|
committer | Matthew Wilcox <willy@parisc-linux.org> | 2006-10-04 14:48:48 +0200 |
commit | 6e5dc42b5add25c94ce0e95da87122f91b4bfdb3 (patch) | |
tree | cf7c584790d4528a441d58641d9e665b94089a8c /drivers | |
parent | [PARISC] remove halftick and copy clocktick to local var (gcc can optimize us... (diff) | |
download | linux-6e5dc42b5add25c94ce0e95da87122f91b4bfdb3.tar.xz linux-6e5dc42b5add25c94ce0e95da87122f91b4bfdb3.zip |
[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>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions