Skip to content

Commit 77755af

Browse files
AdithyaBaglodyAnas Nashif
authored andcommitted
userspace: ARM: Fixed Kconfig for ARM_USERSPACE
Currently in zephyr the support for the arm userspace has not be merged. But the Kconfig always sets the userspace flag and causes a build failure. This is blocking the test cases for userspace. Signed-off-by: Adithya Baglody <[email protected]>
1 parent f4e08b0 commit 77755af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/arm/core/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ config CPU_CORTEX_M
2323
select HAS_FLASH_LOAD_OFFSET
2424
select HAS_DTS
2525
select ARCH_HAS_STACK_PROTECTION if ARM_CORE_MPU
26-
select ARCH_HAS_USERSPACE if ARM_CORE_MPU
26+
select ARCH_HAS_USERSPACE if ARM_USERSPACE
2727
help
2828
This option signifies the use of a CPU of the Cortex-M family.
2929

@@ -44,7 +44,7 @@ config ARM_STACK_PROTECTION
4444

4545
config ARM_USERSPACE
4646
bool
47-
default y if USERSPACE
47+
default n
4848
help
4949
This option enables APIs to drop a thread's privileges, supporting
5050
user-level threads that are protected from each other and from

0 commit comments

Comments
 (0)