diff options
author | Jesper Nilsson <[email protected]> | 2007-11-14 17:01:23 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2007-11-14 18:45:47 -0800 |
commit | d8e5219f9f5ca7518eb820db9f3d287a1d46fcf5 (patch) | |
tree | af996eb526010d0f5106df12de646cc1dd64b29e /lib/debugobjects.c | |
parent | 3244c77bd3460e9701ffeecc2452d7f2ee17106c (diff) |
CRISv10 improve and bugfix fasttimer
Improve and bugfix CRIS v10 fast timers.
- irq_handler_t now only takes two arguments.
- Keep interrupts disabled as long as we have a reference to the
fasttimer list and only enable them while doing the callback.
del_fast_timer may be called from other interrupt context.
- Fix bug where debug code could return without calling local_irq_restore.
- Use jiffies instead of usec (change from struct timeval to fasttime_t).
- Don't initialize static variables to zero.
- Remove obsolete #ifndef DECLARE_WAITQUEUE code.
- fast_timer_init should be __initcall.
- Change status/debug variables to unsigned.
- Remove CVS log and CVS id.
Signed-off-by: Jesper Nilsson <[email protected]>
Cc: Mikael Starvik <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions