diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-03-14 16:40:25 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-03-15 13:45:03 -0400 |
commit | f3eef64521f82330b4b173584d776b8a04b3e795 (patch) | |
tree | b9f9b9700322951c24f38f978fd76c5ffd2d81e8 /drivers/net/wireless/ath/ath9k/mac.h | |
parent | 99ac8cd6ff44e733acdff0d36475dce2d3fe6a6b (diff) |
ath9k: optimize register access functions
By checking for NR_CPUS, the compiler can optimize out register access
serialization code on non-SMP kernels
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/mac.h')
0 files changed, 0 insertions, 0 deletions