Skip to content

Commit e3c0874

Browse files
author
Bradley Bolen
committed
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 <[email protected]>
1 parent 4855e8d commit e3c0874

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

arch/arm/core/aarch32/userspace.S

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -524,9 +524,6 @@ dispatch_syscall:
524524
#elif defined(CONFIG_ARMV7_M_ARMV8_M_MAINLINE)
525525
/* set stack back to unprivileged stack */
526526
ldr ip, [sp,#12]
527-
#endif
528-
529-
#if !defined(CONFIG_ARMV7_R)
530527
msr PSP, ip
531528
#endif
532529

0 commit comments

Comments
 (0)