diff options
author | Kyle Moffett <Kyle.D.Moffett@boeing.com> | 2011-12-02 01:28:03 -0500 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2011-12-06 21:43:08 -0500 |
commit | be8bec56dfac0574c4c08a50cd37e09bea941e3f (patch) | |
tree | 2c31c63a1b56f8cd79a49c358be9b6020118e7c8 /arch/powerpc/platforms/pseries | |
parent | 996983b75cebb1bc1c2c545f20336f24ebfa17af (diff) |
powerpc/mpic: Invert the meaning of MPIC_PRIMARY
It turns out that there are only 2 in-tree platforms which use MPICs
which are not "primary": IBM Cell and PowerMac. To reduce the
complexity of the typical board setup code, invert the MPIC_PRIMARY bit
into MPIC_SECONDARY.
Signed-off-by: Kyle Moffett <Kyle.D.Moffett@boeing.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/platforms/pseries')
-rw-r--r-- | arch/powerpc/platforms/pseries/setup.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/pseries/setup.c b/arch/powerpc/platforms/pseries/setup.c index c3408ca8855e..01df08dbc43c 100644 --- a/arch/powerpc/platforms/pseries/setup.c +++ b/arch/powerpc/platforms/pseries/setup.c | |||
@@ -192,8 +192,7 @@ static void __init pseries_mpic_init_IRQ(void) | |||
192 | BUG_ON(openpic_addr == 0); | 192 | BUG_ON(openpic_addr == 0); |
193 | 193 | ||
194 | /* Setup the openpic driver */ | 194 | /* Setup the openpic driver */ |
195 | mpic = mpic_alloc(pSeries_mpic_node, openpic_addr, | 195 | mpic = mpic_alloc(pSeries_mpic_node, openpic_addr, 0, |
196 | MPIC_PRIMARY, | ||
197 | 16, 250, /* isu size, irq count */ | 196 | 16, 250, /* isu size, irq count */ |
198 | " MPIC "); | 197 | " MPIC "); |
199 | BUG_ON(mpic == NULL); | 198 | BUG_ON(mpic == NULL); |