diff options
author | Laurent Vivier <laurent@vivier.eu> | 2018-05-10 01:11:22 +0200 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2018-05-11 19:05:31 +0200 |
commit | 0562384910bb304b6c811ecac0ad95e699a4c368 (patch) | |
tree | b9fc427604a6e5a5ede8130cb42c749f17cedacb /linux-user/sparc64 | |
parent | ae68ad9fee4e51eae26e34b43a9e6999bd1c6819 (diff) |
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>
Diffstat (limited to 'linux-user/sparc64')
-rw-r--r-- | linux-user/sparc64/target_syscall.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 */ |