[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>
This commit is contained in:
Segher Boessenkool 2006-07-08 02:37:23 +02:00 коммит произвёл Paul Mackerras
Родитель e272a28534
Коммит d319a03bf8
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -252,6 +252,8 @@ static void __init maple_init_IRQ(void)
/* XXX Maple specific bits */ /* XXX Maple specific bits */
flags |= MPIC_BROKEN_U3 | MPIC_WANTS_RESET; 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 /* 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 * ISUs for now. I'll have to revisit some stuffs with the folks doing