summaryrefslogtreecommitdiff
path: root/linux-user/host/ppc64/hostdep.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux-user/host/ppc64/hostdep.h')
-rw-r--r--linux-user/host/ppc64/hostdep.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/host/ppc64/hostdep.h b/linux-user/host/ppc64/hostdep.h
index 0b0f5f7821..98979ad917 100644
--- a/linux-user/host/ppc64/hostdep.h
+++ b/linux-user/host/ppc64/hostdep.h
@@ -24,7 +24,7 @@ extern char safe_syscall_end[];
/* Adjust the signal context to rewind out of safe-syscall if we're in it */
static inline void rewind_if_in_safe_syscall(void *puc)
{
- struct ucontext *uc = puc;
+ ucontext_t *uc = puc;
unsigned long *pcreg = &uc->uc_mcontext.gp_regs[PT_NIP];
if (*pcreg > (uintptr_t)safe_syscall_start