From: Jan Kiszka Date: Mon, 8 Feb 2010 10:12:40 +0000 (+0000) Subject: CAPI: Fix locking around capiminor's output queue and drop workaround_lock X-Git-Tag: v2.6.34-rc1~233^2~248 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dfbb84ffe94e75e2d56250fa948db40f6c62093f;p=pandora-kernel.git CAPI: Fix locking around capiminor's output queue and drop workaround_lock Introduce outlock as a spin lock that protects capiminor's outqueue, outbytes and outskb (formerly known as ttyskb). outlock can be acquired from soft-IRQ context via capinc_write, so make it bh-safe. This finally removes the last reason for keeping the workaround lock around (which was incomplete and partly broken anyway). And as we no longer call handle_recv_skb in atomic context, gen_data_b3_resp_for can use non-atomic allocation now. Signed-off-by: Jan Kiszka Signed-off-by: David S. Miller --- Reading git-diff-tree failed