]> git.proxmox.com Git - qemu.git/blobdiff - target-openrisc/cpu.h
linux-user: Move cpu_clone_regs() and cpu_set_tls() into linux-user
[qemu.git] / target-openrisc / cpu.h
index 80a82dfdd81357045b631a2eb4ef2d44fe3c55c4..b016f57bd5983e71b1896615c00192ba80144f3b 100644 (file)
@@ -394,16 +394,6 @@ static inline CPUOpenRISCState *cpu_init(const char *cpu_model)
     return NULL;
 }
 
-#if defined(CONFIG_USER_ONLY)
-static inline void cpu_clone_regs(CPUOpenRISCState *env, target_ulong newsp)
-{
-    if (newsp) {
-        env->gpr[1] = newsp;
-    }
-    env->gpr[2] = 0;
-}
-#endif
-
 #include "exec/cpu-all.h"
 
 static inline void cpu_get_tb_cpu_state(CPUOpenRISCState *env,