]> git.proxmox.com Git - qemu.git/blobdiff - target-i386/cpu.h
linux-user: Move cpu_clone_regs() and cpu_set_tls() into linux-user
[qemu.git] / target-i386 / cpu.h
index 62e354731034691b5ef8f39c05b88d54df24942e..28496723bd230258b23475c915d1eeda67370623 100644 (file)
@@ -1125,15 +1125,6 @@ static inline target_long lshift(target_long x, int n)
 /* translate.c */
 void optimize_flags_init(void);
 
-#if defined(CONFIG_USER_ONLY)
-static inline void cpu_clone_regs(CPUX86State *env, target_ulong newsp)
-{
-    if (newsp)
-        env->regs[R_ESP] = newsp;
-    env->regs[R_EAX] = 0;
-}
-#endif
-
 #include "exec/cpu-all.h"
 #include "svm.h"