Commit a221a6b2 authored by Jonas Gorski's avatar Jonas Gorski Committed by Ralf Baechle

MIPS: BCM63xx: Add width to __dispatch_internal

Make it follow the same naming convention as the other functions.
Signed-off-by: default avatarJonas 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: default avatarRalf Baechle <ralf@linux-mips.org>
parent e86ae9e2
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
#include <bcm63xx_io.h> #include <bcm63xx_io.h>
#include <bcm63xx_irq.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 __dispatch_internal_64(void) __maybe_unused;
static void __internal_irq_mask_32(unsigned int irq) __maybe_unused; static void __internal_irq_mask_32(unsigned int irq) __maybe_unused;
static void __internal_irq_mask_64(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) ...@@ -117,7 +117,7 @@ static void bcm63xx_init_irq(void)
} }
if (irq_bits == 32) { if (irq_bits == 32) {
dispatch_internal = __dispatch_internal; dispatch_internal = __dispatch_internal_32;
internal_irq_mask = __internal_irq_mask_32; internal_irq_mask = __internal_irq_mask_32;
internal_irq_unmask = __internal_irq_unmask_32; internal_irq_unmask = __internal_irq_unmask_32;
} else { } else {
...@@ -149,7 +149,7 @@ static inline void handle_internal(int intbit) ...@@ -149,7 +149,7 @@ static inline void handle_internal(int intbit)
* will resume the loop where it ended the last time we left this * will resume the loop where it ended the last time we left this
* function. * function.
*/ */
static void __dispatch_internal(void) static void __dispatch_internal_32(void)
{ {
u32 pending; u32 pending;
static int i; static int i;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment