]> git.proxmox.com Git - qemu.git/blobdiff - target-m68k/cpu.h
Convert CPU_PC_FROM_TB to static inline (Jan Kiszka)
[qemu.git] / target-m68k / cpu.h
index a6687b11a7c08c7ce4390faf4e485079e3ae7317..48c752c83fe7196ce66edba60bcf7fbe5731aec0 100644 (file)
@@ -231,8 +231,12 @@ static inline void cpu_clone_regs(CPUState *env, target_ulong newsp)
 }
 #endif
 
-#define CPU_PC_FROM_TB(env, tb) env->pc = tb->pc
-
 #include "cpu-all.h"
+#include "exec-all.h"
+
+static inline void cpu_pc_from_tb(CPUState *env, TranslationBlock *tb)
+{
+    env->pc = tb->pc;
+}
 
 #endif