kconfig: move ARCH_HAS_THREAD_ABORT to arch level

Was ARM specific and could not be used by other architectures.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Signed-off-by: Alberto Escolar Piedras <alpi@oticon.com>
This commit is contained in:
Anas Nashif 2017-12-05 09:07:39 -05:00 committed by Anas Nashif
commit f4ddb62bfa
2 changed files with 8 additions and 5 deletions

View file

@ -18,6 +18,7 @@ config ARC
config ARM
bool "ARM architecture"
select ARCH_HAS_THREAD_ABORT
config X86
bool "x86 architecture"
@ -163,6 +164,13 @@ config ARCH_HAS_USERSPACE
config ARCH_HAS_EXECUTABLE_PAGE_BIT
bool
#
# Other architecture related options
#
config ARCH_HAS_THREAD_ABORT
bool
#
# Hidden PM feature configs which are to be selected by
# individual SoC.

View file

@ -182,9 +182,4 @@ config ZERO_LATENCY_IRQS
Note that this is a somewhat dangerous option: ISRs of priority zero
interrupts cannot use any kernel functionality.
config ARCH_HAS_THREAD_ABORT
bool
# omit prompt to signify a "hidden" option
default y
endmenu