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