From: eric miao Date: Tue, 4 Mar 2008 02:57:18 +0000 (+0800) Subject: [ARM] pxa: generalize the muxed gpio IRQ handling code with loop and ffs() X-Git-Tag: v2.6.26-rc1~1131^2~2^10~57 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a26d3a33fd9adcbfd4fa2ca2d7e8a8272817935;p=pandora-kernel.git [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 Cc: David Brownell Signed-off-by: Russell King --- Reading git-diff-tree failed