diff options
author | Andrew Morton <akpm@osdl.org> | 2006-12-07 05:38:16 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-07 17:39:39 +0100 |
commit | a38a44c1a93078fc5fadc4ac2df8dea4697069e2 (patch) | |
tree | 03ad860836722b803a02a58d5e988fb9f9b883fc /drivers/tc/zs.h | |
parent | [PATCH] declare smp_call_function_single in generic code (diff) | |
download | linux-a38a44c1a93078fc5fadc4ac2df8dea4697069e2.tar.xz linux-a38a44c1a93078fc5fadc4ac2df8dea4697069e2.zip |
[PATCH] smp_call_function_single() check that local interrupts are enabled
smp_call_function_single() can deadlock if the caller disabled local
interrupts (the target CPU could be spinning on call_lock). Check for that.
Why on earth do these functions use spin_lock_bh()??
Cc: "Randy.Dunlap" <rdunlap@xenotime.net>
Cc: Andi Kleen <ak@suse.de>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/tc/zs.h')
0 files changed, 0 insertions, 0 deletions