diff options
author | James Bottomley <jejb@parisc-linux.org> | 2006-09-09 21:36:25 +0200 |
---|---|---|
committer | Matthew Wilcox <willy@parisc-linux.org> | 2006-10-04 14:48:57 +0200 |
commit | 7085689ed135f94108e46c372015c6f5cd3372a3 (patch) | |
tree | 3bf6f7b50160fae8dd9f2b08a6bc0541500b5c63 /arch/parisc/kernel/smp.c | |
parent | [PARISC] Further updates to timer_interrupt() (diff) | |
download | linux-7085689ed135f94108e46c372015c6f5cd3372a3.tar.xz linux-7085689ed135f94108e46c372015c6f5cd3372a3.zip |
[PARISC] Allow nested interrupts
Our prior mode of operation didn't allow nested interrupts
because it makes the interrupt code much simpler. However,
nested interrupts are better for latency.
This code uses the EIEM register to simulate level interrupts
and thus achieve nesting.
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
Diffstat (limited to 'arch/parisc/kernel/smp.c')
-rw-r--r-- | arch/parisc/kernel/smp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/parisc/kernel/smp.c b/arch/parisc/kernel/smp.c index f33e8de438dc..faad338f310e 100644 --- a/arch/parisc/kernel/smp.c +++ b/arch/parisc/kernel/smp.c @@ -262,6 +262,9 @@ ipi_interrupt(int irq, void *dev_id, struct pt_regs *regs) this_cpu, which); return IRQ_NONE; } /* Switch */ + /* let in any pending interrupts */ + local_irq_enable(); + local_irq_disable(); } /* while (ops) */ } return IRQ_HANDLED; |