MIPS: BCM63xx: Add width to __dispatch_internal
Make it follow the same naming convention as the other functions. 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/7314/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
e86ae9e2e0
commit
a221a6b282
|
@ -19,7 +19,7 @@
|
|||
#include <bcm63xx_io.h>
|
||||
#include <bcm63xx_irq.h>
|
||||
|
||||
static void __dispatch_internal(void) __maybe_unused;
|
||||
static void __dispatch_internal_32(void) __maybe_unused;
|
||||
static void __dispatch_internal_64(void) __maybe_unused;
|
||||
static void __internal_irq_mask_32(unsigned int irq) __maybe_unused;
|
||||
static void __internal_irq_mask_64(unsigned int irq) __maybe_unused;
|
||||
|
@ -117,7 +117,7 @@ static void bcm63xx_init_irq(void)
|
|||
}
|
||||
|
||||
if (irq_bits == 32) {
|
||||
dispatch_internal = __dispatch_internal;
|
||||
dispatch_internal = __dispatch_internal_32;
|
||||
internal_irq_mask = __internal_irq_mask_32;
|
||||
internal_irq_unmask = __internal_irq_unmask_32;
|
||||
} else {
|
||||
|
@ -149,7 +149,7 @@ static inline void handle_internal(int intbit)
|
|||
* will resume the loop where it ended the last time we left this
|
||||
* function.
|
||||
*/
|
||||
static void __dispatch_internal(void)
|
||||
static void __dispatch_internal_32(void)
|
||||
{
|
||||
u32 pending;
|
||||
static int i;
|
||||
|
|
Loading…
Reference in New Issue