aboutsummaryrefslogtreecommitdiff
path: root/linux-user/xtensa/target_cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux-user/xtensa/target_cpu.h')
-rw-r--r--linux-user/xtensa/target_cpu.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/linux-user/xtensa/target_cpu.h b/linux-user/xtensa/target_cpu.h
index e31efe3ea0..84f67d469e 100644
--- a/linux-user/xtensa/target_cpu.h
+++ b/linux-user/xtensa/target_cpu.h
@@ -4,7 +4,9 @@
#ifndef XTENSA_TARGET_CPU_H
#define XTENSA_TARGET_CPU_H
-static inline void cpu_clone_regs(CPUXtensaState *env, target_ulong newsp)
+static inline void cpu_clone_regs_child(CPUXtensaState *env,
+ target_ulong newsp,
+ unsigned flags)
{
if (newsp) {
env->regs[1] = newsp;