commit | f3eef64521f82330b4b173584d776b8a04b3e795 | [log] [tgz] |
---|---|---|
author | Felix Fietkau <nbd@openwrt.org> | Wed Mar 14 16:40:25 2012 +0100 |
committer | John W. Linville <linville@tuxdriver.com> | Thu Mar 15 13:45:03 2012 -0400 |
tree | b9f9b9700322951c24f38f978fd76c5ffd2d81e8 | |
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>