summaryrefslogtreecommitdiff
path: root/drivers/net/skge.h
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@osdl.org>2006-02-22 10:28:35 -0800
committerFrancois Romieu <romieu@fr.zoreil.com>2006-02-23 23:07:08 +0100
commit80dd857daca1cf541b10118991569470d62c1d38 (patch)
treea02a62684dee38af8bb91bb261de8659f08e9d55 /drivers/net/skge.h
parent0781191cf69b7635e0d3ea55c6019e789d1936fa (diff)
skge: protect interrupt mask
There is a race between updating the irq mask and setting it which can be triggered on SMP with a bad cable. Similar patch from Ingo Molnar and Thomas Gleixner Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Diffstat (limited to 'drivers/net/skge.h')
-rw-r--r--drivers/net/skge.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/skge.h b/drivers/net/skge.h
index 2efdacc290e5..941f12a333b6 100644
--- a/drivers/net/skge.h
+++ b/drivers/net/skge.h
@@ -2402,6 +2402,7 @@ struct skge_hw {
struct tasklet_struct ext_tasklet;
spinlock_t phy_lock;
+ spinlock_t hw_lock;
};
enum {