mirror of
https://github.com/apache/nuttx.git
synced 2026-08-08 22:17:18 +00:00
arm64: target cpuid calculation error in arm64_gic_raise_sgi function
Signed-off-by: zhangyuan21 <zhangyuan21@xiaomi.com>
This commit is contained in:
parent
77306e5029
commit
ca46cbb0bd
1 changed files with 1 additions and 3 deletions
|
|
@ -399,11 +399,9 @@ int arm64_gic_raise_sgi(unsigned int sgi_id, uint16_t target_list)
|
|||
|
||||
while ((i = ffs(target_list)))
|
||||
{
|
||||
cpu += (i - 1);
|
||||
|
||||
target_list >>= i;
|
||||
|
||||
curr_mpidr = arm64_get_mpid(cpu);
|
||||
curr_mpidr = arm64_get_mpid(cpu + (i - 1));
|
||||
curr_cluster_id = MPID_TO_CLUSTER_ID(curr_mpidr);
|
||||
|
||||
if (pre_cluster_id != UINT64_MAX &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue