tests: kernel: fatal: fix on ARC
Issue: ZEP-2114 Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
774567ea14
commit
b1dd5ea50d
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||||
*/
|
*/
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue