diff options
author | James Bottomley <jejb@parisc-linux.org> | 2005-11-17 16:27:02 -0500 |
---|---|---|
committer | Kyle McMartin <kyle@parisc-linux.org> | 2005-11-17 16:27:02 -0500 |
commit | d911aed8adf74e1fae88d082b8474b2175b7f1da (patch) | |
tree | dc3271e33b2951a8fd43824300b790610c7cd221 /include/asm-parisc/smp.h | |
parent | 3f902886a81c6d4e6c399760936b645b5c7a7342 (diff) | |
download | op-kernel-dev-d911aed8adf74e1fae88d082b8474b2175b7f1da.zip op-kernel-dev-d911aed8adf74e1fae88d082b8474b2175b7f1da.tar.gz |
[PARISC] Fix our interrupts not to use smp_call_function
Fix our interrupts not to use smp_call_function
On K and D class smp, the generic code calls this under an irq
spinlock, which causes the WARN_ON() message in smp_call_function()
(and is also illegal because it could deadlock).
The fix is to use a new scheme based on the IPI_NOP.
Signed-off-by: James Bottomley <jejb@parisc-linux.org>
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
Diffstat (limited to 'include/asm-parisc/smp.h')
-rw-r--r-- | include/asm-parisc/smp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-parisc/smp.h b/include/asm-parisc/smp.h index 9413f67..a519195 100644 --- a/include/asm-parisc/smp.h +++ b/include/asm-parisc/smp.h @@ -29,6 +29,7 @@ extern cpumask_t cpu_online_map; #define cpu_logical_map(cpu) (cpu) extern void smp_send_reschedule(int cpu); +extern void smp_send_all_nop(void); #endif /* !ASSEMBLY */ |