aboutsummaryrefslogtreecommitdiff
path: root/linux-user/riscv/target_cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux-user/riscv/target_cpu.h')
-rw-r--r--linux-user/riscv/target_cpu.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/linux-user/riscv/target_cpu.h b/linux-user/riscv/target_cpu.h
index 90f9a4171e..26dcafab1c 100644
--- a/linux-user/riscv/target_cpu.h
+++ b/linux-user/riscv/target_cpu.h
@@ -1,7 +1,8 @@
#ifndef RISCV_TARGET_CPU_H
#define RISCV_TARGET_CPU_H
-static inline void cpu_clone_regs(CPURISCVState *env, target_ulong newsp)
+static inline void cpu_clone_regs_child(CPURISCVState *env, target_ulong newsp,
+ unsigned flags)
{
if (newsp) {
env->gpr[xSP] = newsp;