tests: kernel: interrupt: Enable nested interrupt test for Cortex-A

This commit enables nested interrupt test for the Cortex-A platforms
that use the ARM Generic Interrupt Controller (GIC).

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
This commit is contained in:
Stephanos Ioannidis 2020-03-22 18:15:55 +09:00 committed by Ioannis Glaropoulos
commit 1828ea467a

View file

@ -11,13 +11,11 @@
/* /*
* Run the nested interrupt test for the supported platforms only. * Run the nested interrupt test for the supported platforms only.
* *
* NOTE: Cortex-A and Cortex-R platforms with the ARM GIC are skipped because * NOTE: Cortex-R platforms with the ARM GIC are skipped because the arch port
* the arch port for these architectures do not support interrupt * for these architectures do not support interrupt nesting yet.
* nesting yet.
*/ */
#if defined(CONFIG_CPU_CORTEX_M) || defined(CONFIG_CPU_ARCV2) || \ #if defined(CONFIG_CPU_CORTEX_M) || defined(CONFIG_CPU_ARCV2) || \
(defined(CONFIG_GIC) && !defined(CONFIG_CPU_CORTEX_A) && \ (defined(CONFIG_GIC) && !defined(CONFIG_CPU_CORTEX_R))
!defined(CONFIG_CPU_CORTEX_R))
#define TEST_NESTED_ISR #define TEST_NESTED_ISR
#endif #endif