From beae4c7182d8204a0d9fa9db2295c42744f7f377 Mon Sep 17 00:00:00 2001 From: Stanislav Brabec Date: Mon, 10 Dec 2012 20:18:49 +0100 Subject: Fix sys_semtimedop decoding on s390x The s390 and s390x pass semtimedop arguments differently from other architectures. sys_semtimedop parser was fixed for s390 by commit v4.6-177-ge0f5fd8, and s390x requires the same fix. * linux/ipc.c (sys_semtimedop): Fix timespec decoding on s390x. Signed-off-by: Stanislav Brabec --- ipc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipc.c b/ipc.c index 859ee28..0cd7750 100644 --- a/ipc.c +++ b/ipc.c @@ -327,7 +327,7 @@ int sys_semtimedop(struct tcb *tcp) if (indirect_ipccall(tcp)) { tprint_sembuf(tcp, tcp->u_arg[3], tcp->u_arg[1]); tprints(", "); -#if defined(S390) +#if defined(S390) || defined(S390X) printtv(tcp, tcp->u_arg[2]); #else printtv(tcp, tcp->u_arg[4]); -- cgit v1.2.3