Use macro QEMU_PACKED for new packed structures
commit7c7bb0223e667c656950427cd17bf95d92993f76
authorStefan Weil <sw@weilnetz.de>
Wed, 18 Jul 2012 16:12:37 +0000 (18 18:12 +0200)
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Sat, 21 Jul 2012 09:54:40 +0000 (21 10:54 +0100)
tree1af85d410397f6d82e6f38c426279c6f334c8ac0
parent434acb817b8ae747f31e91ec152f9f47ac514433
Use macro QEMU_PACKED for new packed structures

Since commit 541dc0d47f10973c241e9955afc2aefc96adec51,
some new packed structures were added without using QEMU_PACKED.

QEMU_PACKED is needed for compilations with MinGW.
For other platforms nothing changes.

The code was fixed using this command:

    git grep -la '__attribute__ ((packed))'|xargs perl -pi -e 's/__attribute__ \(\(packed\)\)/QEMU_PACKED/'

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
hw/mfi.h
hw/ppce500_spin.c