ppce500_spin: Initialize struct properly
commit6a2b3d89fa49ec060db646d196864a8fd15c10cf
authorAlexander Graf <agraf@suse.de>
Mon, 7 Apr 2014 14:48:42 +0000 (7 16:48 +0200)
committerAlexander Graf <agraf@suse.de>
Tue, 8 Apr 2014 09:20:05 +0000 (8 11:20 +0200)
tree3057d044d8cb5116608088baa1ff8be28e1493f0
parent05edc26c61d416831822b3186df099e8e21745b9
ppce500_spin: Initialize struct properly

The spinning struct is in guest endianness, so we need to initialize
its variables in guest endianness too.

This fixes booting e500 guests with SMP on x86 for me.

Signed-off-by: Alexander Graf <agraf@suse.de>
hw/ppc/ppce500_spin.c