target-microblaze: Let cpu_mb_init() return MicroBlazeCPU
authorAndreas Färber <afaerber@suse.de>
Sat, 5 May 2012 10:14:03 +0000 (12:14 +0200)
committerAndreas Färber <afaerber@suse.de>
Mon, 4 Jun 2012 21:00:42 +0000 (23:00 +0200)
commitb33ab1f7a965a9765dc9a5b9f061c44eee2e25e2
tree3521cb88060005c81c9b4a609bcd5c44741c5a36
parent1584aafd02b949d6fa554e93bd70e5940217b66c
target-microblaze: Let cpu_mb_init() return MicroBlazeCPU

Since qemu_init_vcpu() is no-op for CONFIG_USER_ONLY drop the env
variable that is now unused there.

Turn cpu_init macro into a static inline function returning CPUMBState
for backwards compatibility.

Signed-off-by: Andreas Färber <afaerber@suse.de>
Acked-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
target-microblaze/cpu.h
target-microblaze/translate.c