aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2010-04-05 19:56:34 +0100
committerPaul Brook <paul@codesourcery.com>2010-04-05 19:56:34 +0100
commit4f78c9ad5a6076a37a944ededfbec508861103f7 (patch)
treee8fe6666944ae08af77f6ac5a5b380142e87663f
parent983fe82611b87a1198d32f58636f6f38b88ad337 (diff)
downloadqemu-4f78c9ad5a6076a37a944ededfbec508861103f7.zip
qemu-4f78c9ad5a6076a37a944ededfbec508861103f7.tar.gz
qemu-4f78c9ad5a6076a37a944ededfbec508861103f7.tar.bz2
Fix arm-linux-user
Only include hw/loader.h from target-arm/helper.c when building for system emulation. Signed-off-by: Paul Brook <paul@codesourcery.com>
-rw-r--r--target-arm/helper.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/target-arm/helper.c b/target-arm/helper.c
index 7e6a818..99e0394 100644
--- a/target-arm/helper.c
+++ b/target-arm/helper.c
@@ -8,7 +8,9 @@
#include "helpers.h"
#include "qemu-common.h"
#include "host-utils.h"
+#if !defined(CONFIG_USER_ONLY)
#include "hw/loader.h"
+#endif
static uint32_t cortexa9_cp15_c0_c1[8] =
{ 0x1031, 0x11, 0x000, 0, 0x00100103, 0x20000000, 0x01230000, 0x00002111 };