[PATCH] powerpc/currituck: Fix up missing MPIC_PRIMARY flag

Subsystems: linux for powerpc (32-bit and 64-bit), linux for powerpc embedded ppc4xx, the rest

STALE5339d

2 messages, 2 authors, 2011-12-22 · open the first message on its own page

[PATCH] powerpc/currituck: Fix up missing MPIC_PRIMARY flag

From: Kyle Moffett <hidden>
Date: 2011-12-22 16:22:09

The 44x/currituck platform didn't get updated when the MPIC code
inverted the flag from MPIC_PRIMARY => !MPIC_SECONDARY.  Fix it up.

Signed-off-by: Kyle Moffett <redacted>
---
 arch/powerpc/platforms/44x/currituck.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/powerpc/platforms/44x/currituck.c b/arch/powerpc/platforms/44x/currituck.c
index 1fdf569..3f6229b 100644
--- a/arch/powerpc/platforms/44x/currituck.c
+++ b/arch/powerpc/platforms/44x/currituck.c
@@ -83,7 +83,7 @@ static void __init ppc47x_init_irq(void)
 		 * device-tree, just pass 0 to all arguments
 		 */
 		struct mpic *mpic =
-			mpic_alloc(np, 0, MPIC_PRIMARY, 0, 0, " MPIC     ");
+			mpic_alloc(np, 0, 0, 0, 0, " MPIC     ");
 		BUG_ON(mpic == NULL);
 		mpic_init(mpic);
 		ppc_md.get_irq = mpic_get_irq;
-- 
1.7.7.3

Re: [PATCH] powerpc/currituck: Fix up missing MPIC_PRIMARY flag

From: Josh Boyer <hidden>
Date: 2011-12-22 18:01:51

On Thu, Dec 22, 2011 at 11:21 AM, Kyle Moffett
[off-list ref] wrote:
The 44x/currituck platform didn't get updated when the MPIC code
inverted the flag from MPIC_PRIMARY =3D> !MPIC_SECONDARY. =A0Fix it up.

Signed-off-by: Kyle Moffett <redacted>
I already included this fixup in my 4xx tree 'next' branch.  A pull
request was sent to Ben as well.

http://git.infradead.org/users/jwboyer/powerpc-4xx.git/commitdiff/eb975652b=
8fa0c4f08a52744d34bdebf66589d4b

josh
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help