aboutsummaryrefslogtreecommitdiff
path: root/linux-user/sparc/target_cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux-user/sparc/target_cpu.h')
-rw-r--r--linux-user/sparc/target_cpu.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/linux-user/sparc/target_cpu.h b/linux-user/sparc/target_cpu.h
index b30fbc72c4..029b0fc547 100644
--- a/linux-user/sparc/target_cpu.h
+++ b/linux-user/sparc/target_cpu.h
@@ -20,7 +20,8 @@
#ifndef SPARC_TARGET_CPU_H
#define SPARC_TARGET_CPU_H
-static inline void cpu_clone_regs(CPUSPARCState *env, target_ulong newsp)
+static inline void cpu_clone_regs_child(CPUSPARCState *env, target_ulong newsp,
+ unsigned flags)
{
if (newsp) {
env->regwptr[22] = newsp;