Skip to content
Commit 7a26d3a3 authored by eric miao's avatar eric miao Committed by Russell King
Browse files

[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: default avatareric miao <eric.miao@marvell.com>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent d72b1370
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment