mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
xen/arm: Fix assert in send_SGI_one
The GIC can handle maximum 8 cpus (0...7). The CPU id 7 is still valid. Signed-off-by: Julien Grall <julien.grall@linaro.org> Acked-by: Ian Campbell <ian.campbell@citrix.com>
This commit is contained in:
1 parent
1113482036
commit
a22a8e48ee
1 file changed
+1
-1
+1
-1
@@ -477,7 +477,7 @@ void send_SGI_mask(const cpumask_t *cpumask, enum gic_sgi sgi)
|
||||
|
||||
void send_SGI_one(unsigned int cpu, enum gic_sgi sgi)
|
||||
{
|
||||
ASSERT(cpu < 7); /* Targets bitmap only supports 8 CPUs */
|
||||
ASSERT(cpu < NR_GIC_CPU_IF); /* Targets bitmap only supports 8 CPUs */
|
||||
send_SGI_mask(cpumask_of(cpu), sgi);
|
||||
}
|
||||
|
||||
|
||||