]> xenbits.xensource.com Git - qemu-xen-unstable.git/commit
target-lm32/microblaze: Drop second CPU{LM32, MB}State typedef
authorAndreas Färber <afaerber@suse.de>
Thu, 15 Mar 2012 00:19:42 +0000 (01:19 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Thu, 15 Mar 2012 00:48:37 +0000 (19:48 -0500)
commitae7d54d489540b49b7c13a7df7ddc220588a2ced
tree72da2eda14ad7054624b3a85b225e3e7152d9952
parentaea6ff7fa07b046fb9f43d6262d6e34b77e8437e
target-lm32/microblaze: Drop second CPU{LM32, MB}State typedef

Commit 9b9a970a23625de4ae6b7461906a9a0d98d3ca95
(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>
target-lm32/cpu.h
target-microblaze/cpu.h