]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: OCTEON: Remove some code limiting NR_IRQS to 255
authorDavid Daney <david.daney@cavium.com>
Tue, 9 Feb 2016 19:00:06 +0000 (11:00 -0800)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 13 May 2016 12:01:39 +0000 (14:01 +0200)
commitd8c552019dc405f45b03fa8d76523ddc907c07a7
treeed586e5f383c4bd2dc8a731cdcf80028f2dee2af
parenta0327bb25ec2aec067592d7efcd72a3d9caacde7
MIPS: OCTEON: Remove some code limiting NR_IRQS to 255

Follow-on patches for OCTEON III will increase the number of irqs to
potentially more than 256.

Increase the width of the octeon_irq_ciu_to_irq to int to be able to
handle this case.  Remove the hacky code that verified that u8 would
not be overflowed.

Signed-off-by: David Daney <david.daney@cavium.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/12495/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/cavium-octeon/octeon-irq.c