summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Zbitskiy2014-01-11 10:34:09 +0100
committerMichael Tokarev2014-01-15 20:35:51 +0100
commit19a894ba777fa45c6f89ae007570311384204a69 (patch)
tree708e6bb085fe85207e51c78f4cafcb4010b0b16f
parentide: cmd_exec_dev_diagnostic() always set error register to 0x01 (diff)
downloadqemu-19a894ba777fa45c6f89ae007570311384204a69.tar.gz
qemu-19a894ba777fa45c6f89ae007570311384204a69.tar.xz
qemu-19a894ba777fa45c6f89ae007570311384204a69.zip
linux-user: fixed s390x clone() argument order
It was broken by 4ce6243dc6216e35b5b691078ffa856463bfa8db, where TARGET_CLONE_BACKWARDS was specified instead of TARGET_CLONE_BACKWARDS2. Signed-off-by: Pavel Zbitskiy <pavel.zbitskiy@gmail.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
-rw-r--r--linux-user/s390x/syscall.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/s390x/syscall.h b/linux-user/s390x/syscall.h
index ea8c304840..e5ce30b667 100644
--- a/linux-user/s390x/syscall.h
+++ b/linux-user/s390x/syscall.h
@@ -22,4 +22,4 @@ struct target_pt_regs {
#define UNAME_MACHINE "s390x"
-#define TARGET_CLONE_BACKWARDS
+#define TARGET_CLONE_BACKWARDS2