summaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorJosh Boyer <jwboyer@redhat.com>2011-12-20 16:41:28 +0100
committerJosh Boyer <jwboyer@redhat.com>2011-12-20 16:41:28 +0100
commiteb975652b8fa0c4f08a52744d34bdebf66589d4b (patch)
tree1c22995c462f3858b82c4c5b4598d78cbbad6418 /arch/powerpc
parentpowerpc/boot: Change the load address for the wrapper to fit the kernel (diff)
downloadlinux-eb975652b8fa0c4f08a52744d34bdebf66589d4b.tar.xz
linux-eb975652b8fa0c4f08a52744d34bdebf66589d4b.zip
powerpc/44x: Fix build error on currituck platform
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 <jwboyer@gmail.com>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/platforms/44x/currituck.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/44x/currituck.c b/arch/powerpc/platforms/44x/currituck.c
index 1fdf56916873..3f6229b5dee0 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;