projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c55aef0
)
powerpc/44x: Fix build error on currituck platform
author
Josh Boyer
<jwboyer@redhat.com>
Tue, 20 Dec 2011 15:41:28 +0000
(10:41 -0500)
committer
Josh Boyer
<jwboyer@redhat.com>
Tue, 20 Dec 2011 15:41:28 +0000
(10:41 -0500)
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>
arch/powerpc/platforms/44x/currituck.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/platforms/44x/currituck.c
b/arch/powerpc/platforms/44x/currituck.c
index 1fdf56916873e6b03e6a4135f76fda6f141f0467..3f6229b5dee027df0e8b33e7f42827f3dd77918a 100644
(file)
--- 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;