diff options
author | Steven J. Hill <sjhill@mips.com> | 2012-08-31 21:23:49 (GMT) |
---|---|---|
committer | Steven J. Hill <sjhill@mips.com> | 2012-09-13 20:43:51 (GMT) |
commit | 3234f4466934f08136736790e3de3c6debc71271 (patch) | |
tree | b825db51dd6262ba86f880d68dbd8f312a8d87e4 /arch/mips/kernel/irq-gic.c | |
parent | ec167f2d9b9ba784cc17d4449973e68665800388 (diff) | |
download | linux-3234f4466934f08136736790e3de3c6debc71271.tar.xz |
MIPS: Make VPE count to be one-based.
When dealing with multiple VPEs, the count needs to be one-based
for correct initialization of the GIC.
Signed-off-by: Steven J. Hill <sjhill@mips.com>
Diffstat (limited to 'arch/mips/kernel/irq-gic.c')
-rw-r--r-- | arch/mips/kernel/irq-gic.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/kernel/irq-gic.c b/arch/mips/kernel/irq-gic.c index c2bec30..485e6a9 100644 --- a/arch/mips/kernel/irq-gic.c +++ b/arch/mips/kernel/irq-gic.c @@ -312,6 +312,7 @@ void __init gic_init(unsigned long gic_base_addr, numvpes = (gicconfig & GIC_SH_CONFIG_NUMVPES_MSK) >> GIC_SH_CONFIG_NUMVPES_SHF; + numvpes = numvpes + 1; gic_basic_init(numintrs, numvpes, intr_map, intr_map_size); |