Skip to content
Permalink
Browse files

arch: arm: Move thread_abort.c to cortex_m specific directory

The ARM specific _impl_k_thread_abort function only applies to Cortex-M
so move it to the cortex_m specific directory.

Signed-off-by: Bradley Bolen <bbolen@lexmark.com>
  • Loading branch information...
Bradley Bolen authored and ioannisg committed May 24, 2018
1 parent 3015e7b commit eb9f23fdb1510db395d853e8f7777b9c2258d4ae
@@ -24,7 +24,6 @@ config ARC

config ARM
bool "ARM architecture"
select ARCH_HAS_THREAD_ABORT
select HAS_DTS

config X86
@@ -18,7 +18,6 @@ zephyr_library_sources(
cpu_idle.S
fault_s.S
fatal.c
thread_abort.c
)

zephyr_library_sources_ifdef(CONFIG_GEN_SW_ISR_TABLE isr_wrapper.S)
@@ -19,6 +19,7 @@ config CPU_CORTEX_M
select ARCH_HAS_CUSTOM_SWAP_TO_MAIN
select HAS_CMSIS
select HAS_FLASH_LOAD_OFFSET
select ARCH_HAS_THREAD_ABORT
select ARCH_HAS_TRUSTED_EXECUTION if ARM_TRUSTZONE_M
select ARCH_HAS_STACK_PROTECTION if ARM_MPU || CPU_CORTEX_M_HAS_SPLIM
select ARCH_HAS_USERSPACE if ARM_MPU
@@ -10,6 +10,7 @@ zephyr_library_sources(
scb.c
nmi.c
irq_init.c
thread_abort.c
)

zephyr_linker_sources_ifdef(CONFIG_SW_VECTOR_RELAY
File renamed without changes.

0 comments on commit eb9f23f

Please sign in to comment.
You can’t perform that action at this time.