diff options
Diffstat (limited to 'core/nds32/panic.c')
-rw-r--r-- | core/nds32/panic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/nds32/panic.c b/core/nds32/panic.c index 4c855b5c06..3dabc1d2f0 100644 --- a/core/nds32/panic.c +++ b/core/nds32/panic.c @@ -174,7 +174,7 @@ static void print_panic_information(uint32_t *regs, uint32_t itype, panic_printf("Exception type: General exception [%s]\n", itype_exc_type[(itype & 0xf)]); panic_printf("Exception is caused by %s\n", - itype_inst[(itype & (1 << 4))]); + itype_inst[(itype & BIT(4))]); } #endif } |