From: Michael Tokarev Date: Wed, 29 Apr 2015 05:34:29 +0000 (+0300) Subject: microblaze: cpu: Renumber EXCP_* constants to close gap X-Git-Tag: v2.4.0-rc0~153^2~13 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=2161be35ce57ed5b0da0b98f902d003bfebac2c9;p=qemu-xen-unstable.git 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 --- 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