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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/linux-user/riscv/target_cpu.h b/linux-user/riscv/target_cpu.h
index 26dcafab1c..9c642367a3 100644
--- a/linux-user/riscv/target_cpu.h
+++ b/linux-user/riscv/target_cpu.h
@@ -11,6 +11,10 @@ static inline void cpu_clone_regs_child(CPURISCVState *env, target_ulong newsp,
env->gpr[xA0] = 0;
}
+static inline void cpu_clone_regs_parent(CPURISCVState *env, unsigned flags)
+{
+}
+
static inline void cpu_set_tls(CPURISCVState *env, target_ulong newtls)
{
env->gpr[xTP] = newtls;