[POWERPC] MPIC: support more than 256 sources
authorOlof Johansson <olof@lixom.net>
Mon, 29 Jan 2007 05:33:18 +0000 (23:33 -0600)
committerPaul Mackerras <paulus@samba.org>
Wed, 7 Feb 2007 03:03:19 +0000 (14:03 +1100)
commit7df2457db83bc922fcc8b462526b77f1ffe8c84b
tree7029d9e27b858e435c2fc4ce9a6d83a2b028e290
parent6529c13dfe413e437ad1ed0e97783dcf69137114
[POWERPC] MPIC: support more than 256 sources

Allow more than the default 256 MPIC sources. Allocates a new flag
(MPIC_LARGE_VECTORS) to be used by platform code when instantiating
the mpic.

I picked 11 bits worth right now since it would cover the number of
sources on any hardware I have seen. It can always be increased later
if needed.

Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/pasemi/setup.c
arch/powerpc/sysdev/mpic.c
include/asm-powerpc/mpic.h