diff options
author | Paul Brook <paul@codesourcery.com> | 2010-04-05 19:56:34 +0100 |
---|---|---|
committer | Paul Brook <paul@codesourcery.com> | 2010-04-05 19:56:34 +0100 |
commit | 4f78c9ad5a6076a37a944ededfbec508861103f7 (patch) | |
tree | e8fe6666944ae08af77f6ac5a5b380142e87663f | |
parent | 983fe82611b87a1198d32f58636f6f38b88ad337 (diff) | |
download | qemu-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.c | 2 |
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 }; |