xtensa: exception: Some xtensa configs dont have level 7 IRQ

This results in a compiler error when xtensa configuration has no IRQ
level 7. Make it use core-isa.h.

Signed-off-by: John Gunn <jgunn0262@gmail.com>
This commit is contained in:
John Gunn 2019-04-24 21:55:05 +01:00 committed by Tomasz Lauda
parent 94fc66d5d3
commit 52e25dc814
1 changed files with 4 additions and 2 deletions

View File

@ -127,9 +127,10 @@ dump_special_registers:
s32i a6, a2, REG_OFFSET_EPC5
rsr a6, EPC6
s32i a6, a2, REG_OFFSET_EPC6
#if XCHAL_INTLEVEL7_MASK
rsr a6, EPC7
s32i a6, a2, REG_OFFSET_EPC7
#endif
rsr a6, EPS2
s32i a6, a2, REG_OFFSET_EPS2
rsr a6, EPS3
@ -140,9 +141,10 @@ dump_special_registers:
s32i a6, a2, REG_OFFSET_EPS5
rsr a6, EPS6
s32i a6, a2, REG_OFFSET_EPS6
#if XCHAL_INTLEVEL7_MASK
rsr a6, EPS7
s32i a6, a2, REG_OFFSET_EPS7
#endif
rsr a6, DEPC
s32i a6, a2, REG_OFFSET_DEPC
rsr a6, DEBUGCAUSE