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)
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>

No differences found