diff options
| author | 2010-11-08 20:54:47 +0100 | |
|---|---|---|
| committer | 2010-11-09 16:13:24 -0500 | |
| commit | 4df3071ebd92ef7115b409da64d0eb405d24a631 (patch) | |
| tree | 825eaecb9d9e8d0fde7f61e5f98fdd823ccef718 /scripts/cleanpatch | |
| parent | b43: N-PHY: define registers names for 2056 radio (diff) | |
ath9k_hw: optimize interrupt mask changes
OProfile showed that ath9k was spending way too much time in
ath9k_hw_set_interrupts. Since most of the interrupt mask changes only
need to globally enable/disable interrupts, it makes sense to split
this part into separate functions, replacing all calls to
ath9k_hw_set_interrupts(ah, 0) with ath9k_hw_disable_interrupts(ah).
ath9k_hw_set_interrupts(ah, ah->imask) only gets changed to
ath9k_hw_enable_interrupts(ah), whenever ah->imask was not changed
since the point where interrupts were disabled.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'scripts/cleanpatch')
0 files changed, 0 insertions, 0 deletions
