commit | 2685d4106316e9033f73e631b3bbb9e385123c0a | [log] [tgz] |
---|---|---|
author | hayeswang <hayeswang@realtek.com> | Fri Mar 07 11:04:34 2014 +0800 |
committer | David S. Miller <davem@davemloft.net> | Fri Mar 07 16:24:28 2014 -0500 |
tree | 8b3cc8d0604b5490d7c00f836727daffc1cbba2a | |
parent | 91bd66e4c8e0042fdea945c5e455363f1d44959a [diff] |
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>