Commit 05da218a authored by Gilles Chanteperdrix's avatar Gilles Chanteperdrix

arm/ipipe: fix off-by-one error in IPI virqs allocation

parent 7b032e6d
......@@ -469,7 +469,7 @@ void __ipipe_ipis_alloc(void)
return;
/* __ipipe_first_ipi is 0 here */
ipi_nr = IPI_IPIPE_FIRST + IPIPE_LAST_IPI;
ipi_nr = IPI_IPIPE_FIRST + IPIPE_LAST_IPI + 1;
for (virq = IPIPE_IPI_BASE; virq < IPIPE_IPI_BASE + ipi_nr; virq++) {
_virq = ipipe_alloc_virq();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment