diff options
author | hayeswang <hayeswang@realtek.com> | 2014-03-07 07:04:34 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-03-08 01:24:28 +0400 |
commit | 2685d4106316e9033f73e631b3bbb9e385123c0a (patch) | |
tree | 8b3cc8d0604b5490d7c00f836727daffc1cbba2a /drivers/tty/mxser.h | |
parent | 91bd66e4c8e0042fdea945c5e455363f1d44959a (diff) | |
download | linux-2685d4106316e9033f73e631b3bbb9e385123c0a.tar.xz |
r8152: replace spin_lock_irqsave and spin_unlock_irqrestore
Use spin_lock and spin_unlock in interrupt context.
The ndo_start_xmit would not be called in interrupt context, so
replace the relative spin_lock_irqsave and spin_unlock_irqrestore
with spin_lock_bh and spin_unlock_bh.
Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/tty/mxser.h')
0 files changed, 0 insertions, 0 deletions