sh: intc: optimize intc IRQ lookup
authorPaul Mundt <lethal@linux-sh.org>
Tue, 24 Jan 2012 08:41:55 +0000 (17:41 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 24 Jan 2012 08:41:55 +0000 (17:41 +0900)
This ensures that the sense/prio lists are sorted at registration time,
enabling us to use a simple binary search for an optimized lookup
(something that had been on the TODO for some time).

Signed-off-by: Paul Mundt <lethal@linux-sh.org>

No differences found