aboutsummaryrefslogtreecommitdiff
path: root/target-sparc
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-09 20:12:09 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-09 20:12:09 +0000
commit0828b4485a5864482e9a9a7b3c3dcea4033906f6 (patch)
treed831ae310634aee0eac740d0ad71649790f6981b /target-sparc
parentbf5b74230819b27c43d479409df6851077392801 (diff)
Move #include to speed up compilation
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4398 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-sparc')
-rw-r--r--target-sparc/exec.h5
-rw-r--r--target-sparc/op_helper.c3
2 files changed, 3 insertions, 5 deletions
diff --git a/target-sparc/exec.h b/target-sparc/exec.h
index 8badf1a70c..e56b2c64ad 100644
--- a/target-sparc/exec.h
+++ b/target-sparc/exec.h
@@ -56,11 +56,6 @@ void memcpy32(target_ulong *dst, const target_ulong *src);
target_ulong mmu_probe(CPUState *env, target_ulong address, int mmulev);
void dump_mmu(CPUState *env);
-/* XXX: move that to a generic header */
-#if !defined(CONFIG_USER_ONLY)
-#include "softmmu_exec.h"
-#endif /* !defined(CONFIG_USER_ONLY) */
-
static inline void env_to_regs(void)
{
#if defined(reg_REGWPTR)
diff --git a/target-sparc/op_helper.c b/target-sparc/op_helper.c
index 70e72bb50c..13f6ac4c46 100644
--- a/target-sparc/op_helper.c
+++ b/target-sparc/op_helper.c
@@ -1,6 +1,9 @@
#include "exec.h"
#include "host-utils.h"
#include "helper.h"
+#if !defined(CONFIG_USER_ONLY)
+#include "softmmu_exec.h"
+#endif /* !defined(CONFIG_USER_ONLY) */
//#define DEBUG_PCALL
//#define DEBUG_MMU