arch: arm: core: aarch32: Fix Cortex-M userspace regression
This was introduced when trying to fix a previous merge conflict. It broke userspace tests on nucleo_l073rz. Fixes #42627 Signed-off-by: Bradley Bolen <bbolen@lexmark.com>
This commit is contained in:
parent
b68bdf20cf
commit
48333e612a
|
@ -524,9 +524,6 @@ dispatch_syscall:
|
|||
#elif defined(CONFIG_ARMV7_M_ARMV8_M_MAINLINE)
|
||||
/* set stack back to unprivileged stack */
|
||||
ldr ip, [sp,#12]
|
||||
#endif
|
||||
|
||||
#if !defined(CONFIG_ARMV7_R)
|
||||
msr PSP, ip
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue