aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSegher Boessenkool <segher@kernel.crashing.org>2006-07-07 20:37:23 -0400
committerPaul Mackerras <paulus@samba.org>2006-07-27 20:53:14 -0400
commitd319a03bf87209b3914fdf2ede88a2161123b3eb (patch)
tree26f2a160d70b53a6fe422194c3916eb6d0d97198
parente272a2853459b1e7282a7d0b54114ffaa7b3980f (diff)
[POWERPC] Fix new interrupt code (MPIC endianness)
All U3/U4 based systems are big-endian, not all express it in their device trees. Signed-off-by: Segher Boessenkool <segher@kernel.crashing.org> Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
-rw-r--r--arch/powerpc/platforms/maple/setup.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/maple/setup.c b/arch/powerpc/platforms/maple/setup.c
index cb528c9de4c3..2ecea3b21c7c 100644
--- a/arch/powerpc/platforms/maple/setup.c
+++ b/arch/powerpc/platforms/maple/setup.c
@@ -252,6 +252,8 @@ static void __init maple_init_IRQ(void)
252 252
253 /* XXX Maple specific bits */ 253 /* XXX Maple specific bits */
254 flags |= MPIC_BROKEN_U3 | MPIC_WANTS_RESET; 254 flags |= MPIC_BROKEN_U3 | MPIC_WANTS_RESET;
255 /* All U3/U4 are big-endian, older SLOF firmware doesn't encode this */
256 flags |= MPIC_BIG_ENDIAN;
255 257
256 /* Setup the openpic driver. More device-tree junks, we hard code no 258 /* Setup the openpic driver. More device-tree junks, we hard code no
257 * ISUs for now. I'll have to revisit some stuffs with the folks doing 259 * ISUs for now. I'll have to revisit some stuffs with the folks doing