summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2015-06-09 13:04:38 (GMT)
committerRalf Baechle <ralf@linux-mips.org>2015-06-21 19:54:31 (GMT)
commitcb2224d7c40e3d2dfc6f4a1676cd817acc79f012 (patch)
tree7ef2588fb1835b73bd0077958986acad0eb60e02 /include
parent6f6ed482653723e53da4a57b200348ac1eed5ce9 (diff)
downloadlinux-cb2224d7c40e3d2dfc6f4a1676cd817acc79f012.tar.xz
MIPS: IRQ/IP27: Move IRQ allocation API to platform code.
allocate_irqno, free_irqno and alloc_legacy_irqno are a simple allocator for interrupt numbers from the days when the numer of interrupts was still fixed to NR_IRQS. This was necessary for the SGI IP27 architecture which with its flexible architecture and possibly large number of interrupts doesn't easily fit into the old pattern. These days there are better alternatives. Move the allocation code from the arch generic code to the only platform using it, the SGI IP27 aka Origin 200/2000, Onyx 2. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions