From 2161be35ce57ed5b0da0b98f902d003bfebac2c9 Mon Sep 17 00:00:00 2001 From: Michael Tokarev Date: Wed, 29 Apr 2015 08:34:29 +0300 Subject: [PATCH] microblaze: cpu: Renumber EXCP_* constants to close gap After removal of EXCP_NMI there's a gap in EXCP_* numbering. Let's remove it. Signed-off-by: Michael Tokarev Reviewed-by: Edgar E. Iglesias --- target-microblaze/cpu.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/target-microblaze/cpu.h b/target-microblaze/cpu.h index 6522af7532..d3895975d8 100644 --- a/target-microblaze/cpu.h +++ b/target-microblaze/cpu.h @@ -36,11 +36,11 @@ typedef struct CPUMBState CPUMBState; #define ELF_MACHINE EM_MICROBLAZE -#define EXCP_MMU 2 -#define EXCP_IRQ 3 -#define EXCP_BREAK 4 -#define EXCP_HW_BREAK 5 -#define EXCP_HW_EXCP 6 +#define EXCP_MMU 1 +#define EXCP_IRQ 2 +#define EXCP_BREAK 3 +#define EXCP_HW_BREAK 4 +#define EXCP_HW_EXCP 5 /* MicroBlaze-specific interrupt pending bits. */ #define CPU_INTERRUPT_NMI CPU_INTERRUPT_TGT_EXT_3 -- 2.11.4.GIT