projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec167f2
)
MIPS: Make VPE count to be one-based.
author
Steven J. Hill
<sjhill@mips.com>
Fri, 31 Aug 2012 21:23:49 +0000
(16:23 -0500)
committer
Steven J. Hill
<sjhill@mips.com>
Thu, 13 Sep 2012 20:43:51 +0000
(15:43 -0500)
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>
arch/mips/kernel/irq-gic.c
patch
|
blob
|
history
diff --git
a/arch/mips/kernel/irq-gic.c
b/arch/mips/kernel/irq-gic.c
index c2bec301e7ade8b0b5a4a9865c458a90081962eb..485e6a961b317ea0f6778b04e57c8c08d3ad8c02 100644
(file)
--- 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);