summaryrefslogtreecommitdiff
path: root/linux-user/i386/target_cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux-user/i386/target_cpu.h')
-rw-r--r--linux-user/i386/target_cpu.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/linux-user/i386/target_cpu.h b/linux-user/i386/target_cpu.h
index ece04d0966..1fadbf57c3 100644
--- a/linux-user/i386/target_cpu.h
+++ b/linux-user/i386/target_cpu.h
@@ -20,7 +20,8 @@
#ifndef I386_TARGET_CPU_H
#define I386_TARGET_CPU_H
-static inline void cpu_clone_regs(CPUX86State *env, target_ulong newsp)
+static inline void cpu_clone_regs_child(CPUX86State *env, target_ulong newsp,
+ unsigned flags)
{
if (newsp) {
env->regs[R_ESP] = newsp;