Skip to content

Commit

Permalink
powerpc/44x: Fix build error on currituck platform
Browse files Browse the repository at this point in the history
The MPIC_PRIMARY define was recently made "default" and the meaning was
inverted to MPIC_SECONDARY.  This causes compile errors in currituck now, so
fix it to the new manner of allocating mpics.

Signed-off-by: Josh Boyer <[email protected]>
  • Loading branch information
jwboyer committed Dec 20, 2011
1 parent c55aef0 commit eb97565
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/platforms/44x/currituck.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit eb97565

Please sign in to comment.