mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-01 23:03:54 -06:00
target-lm32/microblaze: Drop second CPU{LM32, MB}State typedef
Commit 9b9a970a23
(target-lm32/microblaze: Typedef struct CPU{MB,LM32}State)
introduced necessary typedefs for cpu_mmu_index() and mmu.h
respectively.
On some GCC versions this leads to "error: redefinition of typedef".
Drop the original typedef to hopefully fix the build.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
aea6ff7fa0
commit
ae7d54d489
2 changed files with 4 additions and 4 deletions
|
@ -149,7 +149,7 @@ enum {
|
|||
LM32_FLAG_IGNORE_MSB = 1,
|
||||
};
|
||||
|
||||
typedef struct CPULM32State {
|
||||
struct CPULM32State {
|
||||
/* general registers */
|
||||
uint32_t regs[32];
|
||||
|
||||
|
@ -182,7 +182,7 @@ typedef struct CPULM32State {
|
|||
uint8_t num_bps;
|
||||
uint8_t num_wps;
|
||||
|
||||
} CPULM32State;
|
||||
};
|
||||
|
||||
|
||||
CPULM32State *cpu_lm32_init(const char *cpu_model);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue