From 0562384910bb304b6c811ecac0ad95e699a4c368 Mon Sep 17 00:00:00 2001 From: Laurent Vivier Date: Thu, 10 May 2018 01:11:22 +0200 Subject: linux-user: add sparc/sparc64 specific errno Copied from linux/arch/sparc/include/uapi/asm/errno.h Signed-off-by: Laurent Vivier <laurent@vivier.eu> Reviewed-by: Max Filippov <jcmvbkbc@gmail.com> Message-Id: <20180509231123.20864-6-laurent@vivier.eu> --- linux-user/sparc64/target_syscall.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'linux-user/sparc64/target_syscall.h') diff --git a/linux-user/sparc64/target_syscall.h b/linux-user/sparc64/target_syscall.h index 2cbbaaed1b..34f49df4a1 100644 --- a/linux-user/sparc64/target_syscall.h +++ b/linux-user/sparc64/target_syscall.h @@ -1,6 +1,8 @@ #ifndef SPARC64_TARGET_SYSCALL_H #define SPARC64_TARGET_SYSCALL_H +#include "../sparc/target_errno.h" + struct target_pt_regs { abi_ulong u_regs[16]; abi_ulong tstate; @@ -29,5 +31,4 @@ static inline abi_ulong target_shmlba(CPUSPARCState *env) { return MAX(TARGET_PAGE_SIZE, 16 * 1024); } - #endif /* SPARC64_TARGET_SYSCALL_H */ -- cgit v1.2.3-55-g7522