diff options
author | Stephen Hemminger <shemminger@osdl.org> | 2006-02-22 10:28:35 -0800 |
---|---|---|
committer | Francois Romieu <romieu@fr.zoreil.com> | 2006-02-23 23:07:08 +0100 |
commit | 80dd857daca1cf541b10118991569470d62c1d38 (patch) | |
tree | a02a62684dee38af8bb91bb261de8659f08e9d55 /drivers/net/skge.h | |
parent | 0781191cf69b7635e0d3ea55c6019e789d1936fa (diff) | |
download | kernel_samsung_smdk4412-80dd857daca1cf541b10118991569470d62c1d38.zip kernel_samsung_smdk4412-80dd857daca1cf541b10118991569470d62c1d38.tar.gz kernel_samsung_smdk4412-80dd857daca1cf541b10118991569470d62c1d38.tar.bz2 |
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/skge.h b/drivers/net/skge.h index 2efdacc..941f12a 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 { |