Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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;