kernel: USERSPACE implies HW_STACK_PROTECTION
Userspace is built on top of hardware stack protection and assumes
it is there. We can't enable this unless ARCH_HAS_USERSPACE is defined
anyway.
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
diff --git a/arch/Kconfig b/arch/Kconfig
index a464388..1f5d43f 100644
--- a/arch/Kconfig
+++ b/arch/Kconfig
@@ -47,7 +47,7 @@
config USERSPACE
bool "User mode threads"
depends on ARCH_HAS_USERSPACE
- depends on HW_STACK_PROTECTION
+ select HW_STACK_PROTECTION
help
When enabled, threads may be created or dropped down to user mode,
which has significantly restricted permissions and must interact