brcm63xx: convert RTA1320 to dts
[openwrt.git] / target / linux / brcm63xx / patches-3.14 / 018-MIPS-BCM63XX-add-width-to-__dispatch_internal.patch
1 From a2015bfad293a7eb79519beb60381cb996c6e298 Mon Sep 17 00:00:00 2001
2 From: Jonas Gorski <jogo@openwrt.org>
3 Date: Thu, 21 Mar 2013 17:05:15 +0100
4 Subject: [PATCH 01/10] MIPS: BCM63XX: add width to __dispatch_internal
5
6 Make it follow the same naming convention as the other functions.
7
8 Signed-off-by: Jonas Gorski <jogo@openwrt.org>
9 ---
10  arch/mips/bcm63xx/irq.c | 6 +++---
11  1 file changed, 3 insertions(+), 3 deletions(-)
12
13 --- a/arch/mips/bcm63xx/irq.c
14 +++ b/arch/mips/bcm63xx/irq.c
15 @@ -19,7 +19,7 @@
16  #include <bcm63xx_io.h>
17  #include <bcm63xx_irq.h>
18  
19 -static void __dispatch_internal(void) __maybe_unused;
20 +static void __dispatch_internal_32(void) __maybe_unused;
21  static void __dispatch_internal_64(void) __maybe_unused;
22  static void __internal_irq_mask_32(unsigned int irq) __maybe_unused;
23  static void __internal_irq_mask_64(unsigned int irq) __maybe_unused;
24 @@ -117,7 +117,7 @@ static void bcm63xx_init_irq(void)
25         }
26  
27         if (irq_bits == 32) {
28 -               dispatch_internal = __dispatch_internal;
29 +               dispatch_internal = __dispatch_internal_32;
30                 internal_irq_mask = __internal_irq_mask_32;
31                 internal_irq_unmask = __internal_irq_unmask_32;
32         } else {
33 @@ -149,7 +149,7 @@ static inline void handle_internal(int i
34   * will resume the loop where it ended the last time we left this
35   * function.
36   */
37 -static void __dispatch_internal(void)
38 +static void __dispatch_internal_32(void)
39  {
40         u32 pending;
41         static int i;