diff options
| author | Matthew Wilcox <willy@parisc-linux.org> | 2005-03-08 16:13:13 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-03-08 16:13:13 -0800 |
| commit | 6365711de73b0e67cf2c8e496300dbfe491d2a8c (patch) | |
| tree | c0057b708a25e4bcf67be98c2a6386365835d0bc /lib/kobject.c | |
| parent | 16b81eccbfaa784f801af8e67cea7e924b572f2f (diff) | |
[PATCH] PA-RISC irq handling improvements
- Move the bits_wide parameter from txn_alloc_data to txn_alloc_irq.
It's too late by the time it hits txn_alloc_data(), we can only panic.
In txn_alloc_irq, we can fail the allocation and continue.
- Also fix a bug where we'd only allow up to half the interrupts to be
allocated. Not a problem for iosapic machines, but might have sucked
on a really big GSC-based machine.
- Add missing irq_enter() / irq_exit()
- Allow interrupt processing to be interrupted by the timer tick so we
actually account hard interrupts. Also speed up the handling of CPU
interrupts by not masking with cpu_eiem again.
- Remove sufficiently obsolete DEBUG_IRQ code
- Remove limit on times around the loop. If we exit the loop while
interrupts are still pending, we'll only be re-interrupted as soon
as we exit the function.
- Remove unnecessary includes
Signed-off-by: Matthew Wilcox <willy@parisc-linux.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'lib/kobject.c')
0 files changed, 0 insertions, 0 deletions
