Skip to content
Commit 88f47810 authored by Martin Åberg's avatar Martin Åberg Committed by Anas Nashif
Browse files

sparc: write through switched_from in arch_switch()



Write through switched_from in arch_switch() as required by the
switch protocol.

Also restructure the implementation to better match the template in
kernel_arch_interface.h, by removing a wrapper routine and instead
use CONTAINER_OF().

Fixes #32197

Signed-off-by: default avatarMartin Åberg <martin.aberg@gaisler.com>
parent 0c1877a9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment