target-mips: Let cpu_mips_init() return MIPSCPU
authorAndreas Färber <afaerber@suse.de>
Sat, 5 May 2012 11:33:04 +0000 (13:33 +0200)
committerAndreas Färber <afaerber@suse.de>
Mon, 4 Jun 2012 21:00:43 +0000 (23:00 +0200)
commit30bf942d8cd822b22530be602084a0810db45936
tree83ed89e5e77a98b455bdb80ee90f20fe1bd3f1a7
parentfca1be7cbcb8535fd9f6de707ac81878f34d5470
target-mips: Let cpu_mips_init() return MIPSCPU

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

Signed-off-by: Andreas Färber <afaerber@suse.de>
target-mips/cpu.h
target-mips/translate.c