diff options
author | James Bottomley <jejb@parisc-linux.org> | 2005-11-17 22:27:02 +0100 |
---|---|---|
committer | Kyle McMartin <kyle@parisc-linux.org> | 2005-11-17 22:27:02 +0100 |
commit | d911aed8adf74e1fae88d082b8474b2175b7f1da (patch) | |
tree | dc3271e33b2951a8fd43824300b790610c7cd221 /include/asm-parisc/smp.h | |
parent | [PARISC] Disable nesting of interrupts (diff) | |
download | linux-d911aed8adf74e1fae88d082b8474b2175b7f1da.tar.xz linux-d911aed8adf74e1fae88d082b8474b2175b7f1da.zip |
[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 '')
-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 9413f67a540b..a5191950ce00 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 */ |