aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/bcm63xx
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2014-07-12 06:49:33 -0400
committerRalf Baechle <ralf@linux-mips.org>2014-07-30 09:27:02 -0400
commita221a6b2826f2b49a60ffa77bd8b0b4c56d0aced (patch)
tree424a06a992733c8c5a697e47b8517d937b40f555 /arch/mips/bcm63xx
parente86ae9e2e0c3badc74c81f3449b9d59513d8845c (diff)
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>
Diffstat (limited to 'arch/mips/bcm63xx')
-rw-r--r--arch/mips/bcm63xx/irq.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips/bcm63xx/irq.c b/arch/mips/bcm63xx/irq.c
index 30c6803b5403..a9fb564b194c 100644
--- a/arch/mips/bcm63xx/irq.c
+++ b/arch/mips/bcm63xx/irq.c
@@ -19,7 +19,7 @@
19#include <bcm63xx_io.h> 19#include <bcm63xx_io.h>
20#include <bcm63xx_irq.h> 20#include <bcm63xx_irq.h>
21 21
22static void __dispatch_internal(void) __maybe_unused; 22static void __dispatch_internal_32(void) __maybe_unused;
23static void __dispatch_internal_64(void) __maybe_unused; 23static void __dispatch_internal_64(void) __maybe_unused;
24static void __internal_irq_mask_32(unsigned int irq) __maybe_unused; 24static void __internal_irq_mask_32(unsigned int irq) __maybe_unused;
25static void __internal_irq_mask_64(unsigned int irq) __maybe_unused; 25static void __internal_irq_mask_64(unsigned int irq) __maybe_unused;
@@ -117,7 +117,7 @@ static void bcm63xx_init_irq(void)
117 } 117 }
118 118
119 if (irq_bits == 32) { 119 if (irq_bits == 32) {
120 dispatch_internal = __dispatch_internal; 120 dispatch_internal = __dispatch_internal_32;
121 internal_irq_mask = __internal_irq_mask_32; 121 internal_irq_mask = __internal_irq_mask_32;
122 internal_irq_unmask = __internal_irq_unmask_32; 122 internal_irq_unmask = __internal_irq_unmask_32;
123 } else { 123 } else {
@@ -149,7 +149,7 @@ static inline void handle_internal(int intbit)
149 * will resume the loop where it ended the last time we left this 149 * will resume the loop where it ended the last time we left this
150 * function. 150 * function.
151 */ 151 */
152static void __dispatch_internal(void) 152static void __dispatch_internal_32(void)
153{ 153{
154 u32 pending; 154 u32 pending;
155 static int i; 155 static int i;