diff options
author | Felipe Balbi <balbi@ti.com> | 2012-09-06 12:45:30 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-06 16:17:01 (GMT) |
commit | 6c3a30c7fbed820f65d5e708f1e83468d8ec9921 (patch) | |
tree | 64bab92d01b82786fbae81561bea7528ec407a2d /net/mac80211/rc80211_minstrel_debugfs.c | |
parent | 7e9c8e7dbf3b9cc94947d76cb57985682517cc6e (diff) | |
download | linux-fsl-qoriq-6c3a30c7fbed820f65d5e708f1e83468d8ec9921.tar.xz |
serial: omap: don't save IRQ flags on hardirq
When we're running our hardirq handler, there's
not need to disable IRQs with spin_lock_irqsave()
because IRQs are already disabled. It also makes
no difference if we save or not IRQ flags.
Switch over to simple spin_lock/spin_unlock and
drop the "flags" variable.
Tested-by: Shubhrajyoti D <shubhrajyoti@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/mac80211/rc80211_minstrel_debugfs.c')
0 files changed, 0 insertions, 0 deletions