[PATCH maple] Fix new interrupt code (MPIC endianness)
From: Segher Boessenkool <hidden>
Date: 2006-07-08 00:37:30
1 review trailer.
From: Segher Boessenkool <hidden>
Date: 2006-07-08 00:37:30
All U3/U4 based systems are big-endian, not all express it in their device trees. Signed-off-by: Segher Boessenkool <redacted> Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> --- Index: linux-powerpc/arch/powerpc/platforms/maple/setup.c ===================================================================
--- linux-powerpc.orig/arch/powerpc/platforms/maple/setup.c 2006-07-03 19:56:28.469294976 +0200
+++ linux-powerpc/arch/powerpc/platforms/maple/setup.c 2006-07-03 20:05:01.121380920 +0200@@ -259,6 +259,8 @@ /* 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