net/irda: push BKL into proto_ops
authorArnd Bergmann <arnd@arndb.de>
Fri, 6 Nov 2009 08:38:01 +0000 (00:38 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 7 Nov 2009 08:46:39 +0000 (00:46 -0800)
commit58a9d73202dd40076992154e9acfb98489cc8eab
tree9a070bac9b6eb007567acd6ece75d8fd9fb2fd7e
parent83927ba069a65326f39991a02d6a49ba3b7cea44
net/irda: push BKL into proto_ops

The irda driver uses the BKL implicitly in its protocol
operations. Replace the wrapped proto_ops with explicit
lock_kernel() calls makes the usage more obvious and
shrinks the size of the object code.

The calls t lock_kernel() should eventually all be replaced
by other serialization methods, which requires finding out

The calls t lock_kernel() should eventually all be replaced
by other serialization methods, which requires finding out
which data actually needs protection.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/irda/af_irda.c