Skip to content

Commit

Permalink
test-i386: QEMU_PACKED is not defined here
Browse files Browse the repository at this point in the history
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Richard Henderson <rth@twiddle.net>
  • Loading branch information
bonzini authored and rth7680 committed Feb 18, 2013
1 parent 7d2a929 commit 4047508
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/tcg/test-i386.c
Expand Up @@ -925,7 +925,7 @@ void test_fbcd(double a)

void test_fenv(void)
{
struct QEMU_PACKED {
struct __attribute__((__packed__)) {
uint16_t fpuc;
uint16_t dummy1;
uint16_t fpus;
Expand All @@ -935,7 +935,7 @@ void test_fenv(void)
uint32_t ignored[4];
long double fpregs[8];
} float_env32;
struct QEMU_PACKED {
struct __attribute__((__packed__)) {
uint16_t fpuc;
uint16_t fpus;
uint16_t fptag;
Expand Down Expand Up @@ -1280,7 +1280,7 @@ void test_segs(void)
struct {
uint32_t offset;
uint16_t seg;
} QEMU_PACKED segoff;
} __attribute__((__packed__)) segoff;

ldt.entry_number = 1;
ldt.base_addr = (unsigned long)&seg_data1;
Expand Down

0 comments on commit 4047508

Please sign in to comment.