summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/b43/debugfs.h
diff options
context:
space:
mode:
authorMichael Buesch2009-09-04 22:51:29 +0200
committerJohn W. Linville2009-09-08 22:31:06 +0200
commit36dbd9548e92268127b0c31b0e121e63e9207108 (patch)
tree41d95c5dd824ea43c5f0055bd790b64d7ba8a33a /drivers/net/wireless/b43/debugfs.h
parentwireless: update cfg80211 kconfig entry (diff)
downloadkernel-qcow2-linux-36dbd9548e92268127b0c31b0e121e63e9207108.tar.gz
kernel-qcow2-linux-36dbd9548e92268127b0c31b0e121e63e9207108.tar.xz
kernel-qcow2-linux-36dbd9548e92268127b0c31b0e121e63e9207108.zip
b43: Use a threaded IRQ handler
Use a threaded IRQ handler to allow locking the mutex and sleeping while executing an interrupt. This removes usage of the irq_lock spinlock, but introduces a new hardirq_lock, which is _only_ used for the PCI/SSB lowlevel hard-irq handler. Sleeping busses (SDIO) will use mutex instead. Signed-off-by: Michael Buesch <mb@bu3sch.de> Tested-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/b43/debugfs.h')
-rw-r--r--drivers/net/wireless/b43/debugfs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/b43/debugfs.h b/drivers/net/wireless/b43/debugfs.h
index b9d4de4a979c..e47b4b488b04 100644
--- a/drivers/net/wireless/b43/debugfs.h
+++ b/drivers/net/wireless/b43/debugfs.h
@@ -23,9 +23,10 @@ struct dentry;
#define B43_NR_LOGGED_TXSTATUS 100
struct b43_txstatus_log {
+ /* This structure is protected by wl->mutex */
+
struct b43_txstatus *log;
int end;
- spinlock_t lock;
};
struct b43_dfs_file {