target-i386: Let cpu_x86_init() return X86CPU
authorAndreas Färber <afaerber@suse.de>
Wed, 2 May 2012 16:42:46 +0000 (18:42 +0200)
committerAndreas Färber <afaerber@suse.de>
Mon, 4 Jun 2012 21:00:42 +0000 (23:00 +0200)
commitb47ed9969fb12527c40aa507e165061c20e21836
tree0887d754c5705191efed46b9cb3b66b4c50f9380
parent232fc23bed97f92b939d5b2802a481c1dea5991b
target-i386: Let cpu_x86_init() return X86CPU

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

Signed-off-by: Andreas Färber <afaerber@suse.de>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
target-i386/cpu.h
target-i386/helper.c