Skip to content
Commit e10d9364 authored by Peng Fan's avatar Peng Fan Committed by Anas Nashif
Browse files

arch: arm64: irq/switch: accessing nested using _cpu_t



With _kernel_offset_to_nested, we only able to access the nested counter
of the first cpu. Since we are going to support SMP, we need accessing
nested from per cpu.

To get the current cpu, introduce z_arm64_curr_cpu for asm usage,
because arch_curr_cpu could not be compiled in asm code.

Signed-off-by: default avatarPeng Fan <peng.fan@nxp.com>
parent cfc7673c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment