diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2011-10-30 19:57:33 +0000 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2011-11-11 17:33:58 +0100 |
commit | 9df3b45dd4e6e5a856a08e5c7799a3434e9e5ccf (patch) | |
tree | 29c5bc6b592ad0c7516df1228762fb70e2e0da25 /block/raw-posix-aio.h | |
parent | d43b45e220ae82081e389ae113f6f03d9294fdcf (diff) |
tcg-ppc64: Fix compile errors for userspace only builds with gcc 4.6
tcg/ppc64/tcg-target.c has a couple of places where variables are set
unconditionally, but otherwise used only for softmmu builds, not
userspace only builds. This causes compiler warnings (which are fatal
by default) when compiling for a ppc64 host with gcc 4.6. This patch
fixes the problem by moving the code which defines and sets the
variables into the CONFIG_SOFTMMU guarded regions.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'block/raw-posix-aio.h')
0 files changed, 0 insertions, 0 deletions