linux/arch/mips/bcm63xx
Jonas Gorski 86ee4333ba MIPS: BCM63xx: Replace irq dispatch code with a generic version
The generic version uses a variable length of u32 registers instead of u32/u64.
This allows easier support for "wider" registers without having to rewrite
everything.

This "generic" version is as fast as the old version in the best case
(i == next set bit), and twice as fast in the worst case in 64 bits.

Using a macro was chosen over a (forced) inline version because gcc generated
more compact code with the macro.

The change from (signed) int to unsigned int for i and to_call was intentional
as the value can be only between 0 and (width - 1) anyway, and allowed gcc to
optimise the code a bit further.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
Cc: linux-mips@linux-mips.org
Cc: John Crispin <blogic@openwrt.org>
Cc: Maxime Bizon <mbizon@freebox.fr>
Cc: Florian Fainelli <florian@openwrt.org>
Cc: Kevin Cernekee <cernekee@gmail.com>
Cc: Gregory Fong <gregory.0xf0@gmail.com>
Patchwork: https://patchwork.linux-mips.org/patch/7316/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2014-07-30 15:27:47 +02:00
..
boards MIPS: BCM63XX: add HSSPI platform device and register it 2014-01-22 20:18:50 +01:00
clk.c
cpu.c MIPS: BCM63xx: Remove !RUNTIME_DETECT code for bcmcpu_get_id 2014-07-30 15:25:05 +02:00
cs.c
dev-dsp.c
dev-enet.c MIPS: BCM63xx: Remove !RUNTIME_DETECT usage from enet code 2014-07-30 15:24:01 +02:00
dev-flash.c
dev-hsspi.c MIPS: BCM63XX: add HSSPI platform device and register it 2014-01-22 20:18:50 +01:00
dev-pcmcia.c
dev-rng.c
dev-spi.c MIPS: BCM63xx: Remove !RUNTIME_DETECT from spi code 2014-07-30 15:23:32 +02:00
dev-uart.c
dev-usb-usbd.c
dev-wdt.c
early_printk.c mips: delete non-required instances of include <linux/init.h> 2014-01-24 22:39:56 +01:00
gpio.c MIPS: BCM63xx: Remove !RUNTIME_DETECT code from gpio code 2014-07-30 15:23:06 +02:00
irq.c MIPS: BCM63xx: Replace irq dispatch code with a generic version 2014-07-30 15:27:47 +02:00
Kconfig MIPS: BCM63XX: let the individual SoCs select the appropriate CPUs 2014-01-22 20:18:53 +01:00
Makefile MIPS: BCM63XX: add HSSPI platform device and register it 2014-01-22 20:18:50 +01:00
nvram.c
Platform
prom.c MIPS: BCM63XX: always register bmips smp ops 2014-01-22 20:18:53 +01:00
reset.c MIPS: BCM63xx: Remove !RUNTIME_DETECT from reset code 2014-07-30 15:22:29 +02:00
setup.c
timer.c