aboutsummaryrefslogtreecommitdiff
path: root/linux-user/openrisc/target_cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux-user/openrisc/target_cpu.h')
-rw-r--r--linux-user/openrisc/target_cpu.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/linux-user/openrisc/target_cpu.h b/linux-user/openrisc/target_cpu.h
index 32ff135089..309cf3eeb7 100644
--- a/linux-user/openrisc/target_cpu.h
+++ b/linux-user/openrisc/target_cpu.h
@@ -20,7 +20,9 @@
#ifndef OPENRISC_TARGET_CPU_H
#define OPENRISC_TARGET_CPU_H
-static inline void cpu_clone_regs(CPUOpenRISCState *env, target_ulong newsp)
+static inline void cpu_clone_regs_child(CPUOpenRISCState *env,
+ target_ulong newsp,
+ unsigned flags)
{
if (newsp) {
cpu_set_gpr(env, 1, newsp);