Skip to contentSkip to conversation

[4398] Move #include to speed up compilation

Qemu-devel Blue Swirl 1 participant 1 message May 9, 2008

lore
Share & tools
lore

Blue Swirl

author
#0 lore raw

Revision: 4398

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4398
Author:   blueswir1
Date:     2008-05-09 20:12:09 +0000 (Fri, 09 May 2008)

Log Message:
-----------
Move #include to speed up compilation

Modified Paths:
--------------
trunk/target-sparc/exec.h
trunk/target-sparc/op_helper.c

Modified: trunk/target-sparc/exec.h
===================================================================

target-sparc/exec.h +0 -5
@@ -56,11 +56,6 @@
 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)

Modified: trunk/target-sparc/op_helper.c
===================================================================

target-sparc/op_helper.c +3 -0
@@ -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