diff options
author | Riku Voipio <riku.voipio@linaro.org> | 2016-02-15 14:35:12 +0200 |
---|---|---|
committer | Riku Voipio <riku.voipio@linaro.org> | 2016-02-23 21:25:10 +0200 |
commit | 13756fb008728e0c316d6b183c8740e030b1ad74 (patch) | |
tree | 4ffe98ad4885eff1ae7a1b8184a01a9460b6ba4e /linux-user/syscall.c | |
parent | 7c73d2a3fa14cecfd38db7d8a3cd266ce14b9d57 (diff) |
linux-user: remove unavailable syscalls from aarch64
QEMU lists deprecated system call numbers in for Aarch64. These
are never enabled for Linux kernel, so don't define them in Qemu
either. Remove the ifdef around host_to_target_stat64 since
all architectures need it now.
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'linux-user/syscall.c')
-rw-r--r-- | linux-user/syscall.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 8b76169ca5..539183a788 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -5231,7 +5231,6 @@ static inline int target_to_host_mlockall_arg(int arg) } #endif -#if defined(TARGET_NR_stat64) || defined(TARGET_NR_newfstatat) static inline abi_long host_to_target_stat64(void *cpu_env, abi_ulong target_addr, struct stat *host_st) @@ -5294,7 +5293,6 @@ static inline abi_long host_to_target_stat64(void *cpu_env, return 0; } -#endif /* ??? Using host futex calls even when target atomic operations are not really atomic probably breaks things. However implementing |