mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-09 13:42:56 +00:00
arm_gic_map is a mask not the CPUs ID, there is no need to shift it.
Pointy-hat to: andrew Obtained from: ABT Systems Ltd Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
e73954218a
commit
02a1932d1c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=301062
@ -968,7 +968,7 @@ gic_bind(struct arm_gic_softc *sc, u_int irq, cpuset_t *cpus)
|
||||
|
||||
for (mask = 0, cpu = 0; cpu < end; cpu++)
|
||||
if (CPU_ISSET(cpu, cpus))
|
||||
mask |= 1 << arm_gic_map[cpu];
|
||||
mask |= arm_gic_map[cpu];
|
||||
|
||||
gic_d_write_1(sc, GICD_ITARGETSR(0) + irq, mask);
|
||||
return (0);
|
||||
|
Loading…
Reference in New Issue
Block a user