From: David Kilroy Date: Sat, 1 May 2010 13:05:40 +0000 (+0100) Subject: orinoco: encapsulate driver locking X-Git-Tag: v2.6.35-rc1~473^2~167^2~57 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bcad6e80f3fb0d6724c3814cf32258bbcf1d67db;p=pandora-kernel.git orinoco: encapsulate driver locking Local bus and USB drivers will need to do locking differently. The original orinoco_usb patches had a boolean variable controlling whether spin_lock_bh was used, or irq based locking. This version provides wrappers for the lock functions and the drivers specify the functions pointers needed. This will introduce a performance penalty, but I'm not expecting it to be noticable. Signed-off-by: David Kilroy Signed-off-by: John W. Linville --- Reading git-diff-tree failed