Skip to content

Commit eef767e

Browse files
ibirnbaumcarlescufi
authored andcommitted
testsuite: enable timestamp_serialize() for aarch32 Cortex-A CPUs
Enable the existing aarch32 Cortex-R implementation of timestamp_serialize() for aarch32 Cortex-A CPUs as well. Signed-off-by: Immo Birnbaum <[email protected]>
1 parent 52a5c08 commit eef767e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subsys/testsuite/include/test_asm_inline_gcc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ static inline void timestamp_serialize(void)
3030
/* isb is available in all Cortex-M */
3131
__ISB();
3232
}
33-
#elif defined(CONFIG_CPU_CORTEX_R)
33+
#elif defined(CONFIG_CPU_CORTEX_R) || defined(CONFIG_CPU_AARCH32_CORTEX_A)
3434
#include <arch/arm/aarch32/cortex_a_r/cpu.h>
3535
static inline void timestamp_serialize(void)
3636
{

0 commit comments

Comments
 (0)