From: Andrew Morton Date: Thu, 7 Dec 2006 04:38:16 +0000 (-0800) Subject: [PATCH] smp_call_function_single() check that local interrupts are enabled X-Git-Tag: v2.6.20-rc1~145^2^2~137 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a38a44c1a93078fc5fadc4ac2df8dea4697069e2;p=pandora-kernel.git [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" Cc: Andi Kleen Cc: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed