projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4484b9c
)
smc91x: fix compilation on SMP
author
Alexey Dobriyan
<adobriyan@gmail.com>
Wed, 26 Aug 2009 19:03:35 +0000
(12:03 -0700)
committer
David S. Miller
<davem@davemloft.net>
Wed, 26 Aug 2009 19:03:35 +0000
(12:03 -0700)
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/smc91x.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/smc91x.c
b/drivers/net/smc91x.c
index 9da1fa12a67cb4ba05ce18e79843133c4f49e125..7567f510eff5c3f200c0d48a12238ac2bd39666a 100644
(file)
--- a/
drivers/net/smc91x.c
+++ b/
drivers/net/smc91x.c
@@
-531,7
+531,7
@@
static inline void smc_rcv(struct net_device *dev)
local_irq_restore(flags); \
__ret; \
})
-#define smc_special_lock(lock, flags) spin_lock_irq(lock, flags)
+#define smc_special_lock(lock, flags) spin_lock_irq
save
(lock, flags)
#define smc_special_unlock(lock, flags) spin_unlock_irqrestore(lock, flags)
#else
#define smc_special_trylock(lock, flags) (1)