aboutsummaryrefslogtreecommitdiff
path: root/linux-user/hexagon/cpu_loop.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux-user/hexagon/cpu_loop.c')
-rw-r--r--linux-user/hexagon/cpu_loop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux-user/hexagon/cpu_loop.c b/linux-user/hexagon/cpu_loop.c
index 40db596..e18a018 100644
--- a/linux-user/hexagon/cpu_loop.c
+++ b/linux-user/hexagon/cpu_loop.c
@@ -21,7 +21,7 @@
#include "qemu/osdep.h"
#include "qemu.h"
#include "user-internals.h"
-#include "cpu_loop-common.h"
+#include "user/cpu_loop.h"
#include "signal-common.h"
#include "internal.h"
@@ -79,7 +79,7 @@ void cpu_loop(CPUHexagonState *env)
}
}
-void target_cpu_copy_regs(CPUArchState *env, struct target_pt_regs *regs)
+void target_cpu_copy_regs(CPUArchState *env, target_pt_regs *regs)
{
env->gpr[HEX_REG_PC] = regs->sepc;
env->gpr[HEX_REG_SP] = regs->sp;