commit | 0aa13b2e06fbb8327c7acb4ccf684b2b65c302ce | [log] [tgz] |
---|---|---|
author | Helmut Schaa <helmut.schaa@googlemail.com> | Thu Mar 03 19:45:16 2011 +0100 |
committer | John W. Linville <linville@tuxdriver.com> | Fri Mar 04 14:06:48 2011 -0500 |
tree | 2393be04e8ea1015a8a67b52eaa13b33204aa532 | |
parent | 567108ebd352f21640c536ea3b39584f9e7c28f8 [diff] |
rt2x00: Revise irqmask locking for PCI devices The PCI device irqmask is locked by a spin_lock. Currently spin_lock_irqsave is used everywhere. To reduce the locking overhead replace spin_lock_irqsave in hard irq context with spin_lock and in soft irq context with spin_lock_irq. Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>