aarch64: swap: Remove redundant code
Delete redundant / useless code from z_arm64_pendsv(). Signed-off-by: Carlo Caione <ccaione@baylibre.com>
This commit is contained in:
parent
6c6bd8c49e
commit
fbf9b2675d
1 changed files with 0 additions and 4 deletions
|
@ -85,10 +85,6 @@ SECTION_FUNC(TEXT, z_arm64_pendsv)
|
|||
ldr x2, [x1, #_kernel_offset_to_ready_q_cache]
|
||||
str x2, [x1, #_kernel_offset_to_current]
|
||||
|
||||
/* load _kernel into x1 and current k_thread into x2 */
|
||||
ldr x1, =_kernel
|
||||
ldr x2, [x1, #_kernel_offset_to_current]
|
||||
|
||||
/* addr of callee-saved regs in thread in x0 */
|
||||
ldr x0, =_thread_offset_to_callee_saved
|
||||
add x0, x0, x2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue