Blackfin: ints-priority: unify duplicate vec to irq lookup logic
authorMike Frysinger <vapier@gentoo.org>
Wed, 30 Mar 2011 05:35:41 +0000 (01:35 -0400)
committerMike Frysinger <vapier@gentoo.org>
Wed, 25 May 2011 12:13:41 +0000 (08:13 -0400)
commit6b108049d67090988fbb0b9d9905ffca114b6ff1
treeff8876b463118fb369ce7481ccc6e5a2682469b2
parente9e334c35ec3cd262d13640b50b67a29870a7105
Blackfin: ints-priority: unify duplicate vec to irq lookup logic

Seems the ipipe code just copied & pasted the existing irq lookup logic,
so pull the logic out of do_irq() and into a local helper, and convert
the two users over to that.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/mach-common/ints-priority.c