tests: kernel: fatal: fix on ARC

Issue: ZEP-2114
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
Andrew Boie 2017-05-10 16:43:20 -07:00 committed by Anas Nashif
commit b1dd5ea50d

View file

@ -21,8 +21,10 @@ void alt_thread1(void)
__asm__ volatile ("ud2"); __asm__ volatile ("ud2");
#elif defined(CONFIG_NIOS2) #elif defined(CONFIG_NIOS2)
__asm__ volatile ("trap"); __asm__ volatile ("trap");
#elif defined(CONFIG_ARC)
__asm__ volatile ("swi");
#else #else
/* Triggers usage fault on ARM, illegal instruction on RISCV32, ARC, /* Triggers usage fault on ARM, illegal instruction on RISCV32
* and xtensa * and xtensa
*/ */
{ {