diff options
author | eric miao <eric.miao@marvell.com> | 2008-03-04 10:57:18 +0800 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-04-19 11:29:03 +0100 |
commit | 7a26d3a33fd9adcbfd4fa2ca2d7e8a8272817935 (patch) | |
tree | 2e0aac15ed22525880dcf35f23cd60f7bd098a96 /net/mac80211 | |
parent | d72b1370b0b45f1fabda5ae4d603773d8a2c226a (diff) | |
download | op-kernel-dev-7a26d3a33fd9adcbfd4fa2ca2d7e8a8272817935.zip op-kernel-dev-7a26d3a33fd9adcbfd4fa2ca2d7e8a8272817935.tar.gz |
[ARM] pxa: generalize the muxed gpio IRQ handling code with loop and ffs()
1. As David Brownell suggests, using ffs() is going to make the loop
a bit faster (by avoiding unnecessary shift and iteration)
2. Russell suggested find_{first,next}_bit() being used with the
gedr[] array
Signed-off-by: eric miao <eric.miao@marvell.com>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'net/mac80211')
0 files changed, 0 insertions, 0 deletions