Home
last modified time | relevance | path

Searched hist:"7 a26d3a3" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/arm/mach-pxa/
H A Dirq.c7a26d3a3 Mon Mar 03 20:57:18 CST 2008 eric miao <eric.miao@marvell.com> [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>
7a26d3a3 Mon Mar 03 20:57:18 CST 2008 eric miao <eric.miao@marvell.com> [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>