summaryrefslogtreecommitdiffstats
path: root/linux-user
diff options
context:
space:
mode:
authorClaudio Fontana2014-01-04 23:15:47 +0100
committerPeter Maydell2014-01-08 20:07:20 +0100
commit1b69f006bff89e5e4710dd04be85277aab8856bf (patch)
tree45448bd6d0f1de2743f11ed9abc02b9f96b13fa9 /linux-user
parenttarget-arm: A64: support for ld/st/cl exclusive (diff)
downloadqemu-1b69f006bff89e5e4710dd04be85277aab8856bf.tar.gz
qemu-1b69f006bff89e5e4710dd04be85277aab8856bf.tar.xz
qemu-1b69f006bff89e5e4710dd04be85277aab8856bf.zip
linux-user: AArch64: define TARGET_CLONE_BACKWARDS
The AArch64 linux-user support was written before but merged after commit 4ce6243dc621 which cleaned up the handling of the clone() syscall argument order, so we failed to notice that AArch64 also needs TARGET_CLONE_BACKWARDS to be defined. Add this define so that clone and fork syscalls work correctly. Signed-off-by: Claudio Fontana <claudio.fontana@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'linux-user')
-rw-r--r--linux-user/aarch64/syscall.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux-user/aarch64/syscall.h b/linux-user/aarch64/syscall.h
index aef419efeb..18f44a8a40 100644
--- a/linux-user/aarch64/syscall.h
+++ b/linux-user/aarch64/syscall.h
@@ -7,3 +7,4 @@ struct target_pt_regs {
#define UNAME_MACHINE "aarch64"
#define UNAME_MINIMUM_RELEASE "3.8.0"
+#define TARGET_CLONE_BACKWARDS