From: Segher Boessenkool Date: Sat, 8 Jul 2006 00:37:23 +0000 (+0200) Subject: [POWERPC] Fix new interrupt code (MPIC endianness) X-Git-Tag: v2.6.18-rc4~73^2~5 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=d319a03bf87209b3914fdf2ede88a2161123b3eb;p=linux-2.6-omap-h63xx.git [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 Acked-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras --- diff --git a/arch/powerpc/platforms/maple/setup.c b/arch/powerpc/platforms/maple/setup.c index cb528c9de4c..2ecea3b21c7 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) /* XXX Maple specific bits */ flags |= MPIC_BROKEN_U3 | MPIC_WANTS_RESET; + /* All U3/U4 are big-endian, older SLOF firmware doesn't encode this */ + flags |= MPIC_BIG_ENDIAN; /* Setup the openpic driver. More device-tree junks, we hard code no * ISUs for now. I'll have to revisit some stuffs with the folks doing