Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2109276imu; Thu, 17 Jan 2019 08:32:05 -0800 (PST) X-Google-Smtp-Source: ALg8bN6IEVVY7u0QYlCCMLnKAx9kILk5Mii1Rx7oHynpj7kzKDQq829Zo5qM4pd3/zYaKcpSd91h X-Received: by 2002:a62:1e45:: with SMTP id e66mr15445937pfe.152.1547742725355; Thu, 17 Jan 2019 08:32:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547742725; cv=none; d=google.com; s=arc-20160816; b=xiFym1PtZp1ssnklCpIgp/+bGf3WqR4GEyr1wLpM7xOIk4HGBblX+qem87OuMrpw0c GVUDohirB/DNQIqEldv5IE1WTt5VBGK7rbxZ4MwAtp5MyjbbBlyzDbG71gxAI42OKqXp KLgqd8M6JEq8F1WFVLVVEiLE2jocwciCwMdNKT4aLj4Fm+/tV5eEnGcNXSuAtctYVB1o h96YiYE41BtMiKisQbN87GnkMDusdHNKxbGV4XHtsvvZ3/OF5FuMUP+otlykVchhc2Mi rAvtnCYgtGJTcjodPflqRe2BT4kcw/c3RSxILcxp7ApkjgHbpkaVNOAUDe/Zjb40TlOA d8rA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=guAp2BQZAZN8luhXlwYizmkL+xnir6kk0PsAK2MmTo8=; b=D5hxOaxi1x3XOn6/oMVQw3DCm8tAHz0cklNjRIuF3ShmnHXtsKImGDYuXTdN7OvybW OKuGyFC0AdIQmJzNK6rdctZcFF5U8FRljUa1y/Fk9evPvU+6GZ1HVG7XyFjKKFSpuYyp 9NVVr1wOQWhZHtJzWDKZ+V8GtU/k8hl1UA3zOTFw/GdBJ9jXXUE9R0RlKHHu+0NlZBiT bYhJ6jhddafe9tKyddsup9FiwcOCkD2Q2ltW5LrYrmdA1pWL3N5fZ1Y62xHdefEFeLlT tvXZeMhOcJ+Gu85xcDnNBw2sZbf4JalvIOC499ib/PqedArwxg4wUEt4L87Yy/D0v/ZK oREA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j187si2190811pfg.160.2019.01.17.08.31.48; Thu, 17 Jan 2019 08:32:05 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728923AbfAQQaN (ORCPT + 99 others); Thu, 17 Jan 2019 11:30:13 -0500 Received: from mail-qt1-f196.google.com ([209.85.160.196]:39754 "EHLO mail-qt1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728423AbfAQQaM (ORCPT ); Thu, 17 Jan 2019 11:30:12 -0500 Received: by mail-qt1-f196.google.com with SMTP id u47so11948464qtj.6; Thu, 17 Jan 2019 08:30:12 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=guAp2BQZAZN8luhXlwYizmkL+xnir6kk0PsAK2MmTo8=; b=fszkimHZHgFrOaOO0Y4X1qjrIKuUJ3V5B4C+ikMZpjMLbGmChtkwMFj9nRNBErW2t7 DXy3KWT0vVfDWwXcC2OFZqg85tIkTLGHfsniwixNDOd1Vmm2faI/2upYJbzrKHZ+jbCc K8nazDT/26RlaQCuwLIm5JOElf+vQ+3ckiKnifn9uYFHQ3HeTYRebdmwsM9lqiEsGbnw nHudC8NXvAc2sX6FauOXyR3w4HRKWlxK0QPbFI5uDjcDCoG78qW/UNjIxwp2SLQL4yIZ ntDb9EXU2ifE5H7iGRSmsZldooK66u36b1S1pyu7yW3jYWvxyU8mtUOmZLwz/cxGXYc5 V2KA== X-Gm-Message-State: AJcUukfp6vl2Ja2T+qp/prXucwnJrcAId8rjocMRaBqJHRYJ9SjKo6nI 340R579VBnbj+WByrwEY5gbX0GXO2b/KpAbR0BY= X-Received: by 2002:a0c:f50c:: with SMTP id j12mr11751196qvm.149.1547742611737; Thu, 17 Jan 2019 08:30:11 -0800 (PST) MIME-Version: 1.0 References: <20190116131527.2071570-1-arnd@arndb.de> <20190116131527.2071570-3-arnd@arndb.de> <20190117132906.GB18351@osiris> In-Reply-To: <20190117132906.GB18351@osiris> From: Arnd Bergmann Date: Thu, 17 Jan 2019 17:29:55 +0100 Message-ID: Subject: Re: [PATCH 2/5] ipc: introduce ksys_ipc()/compat_ksys_ipc() for s390 To: Heiko Carstens Cc: linux-s390 , Martin Schwidefsky , Linux Kernel Mailing List , y2038 Mailman List , Dominik Brodowski , Mark Rutland , Linux API Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 17, 2019 at 2:29 PM Heiko Carstens wrote: > diff --git a/arch/s390/kernel/sys_s390.c b/arch/s390/kernel/sys_s390.c > index 6aa8fe00b39e..fd0cbbed4d9f 100644 > --- a/arch/s390/kernel/sys_s390.c > +++ b/arch/s390/kernel/sys_s390.c > @@ -58,6 +58,7 @@ SYSCALL_DEFINE1(mmap2, struct s390_mmap_arg_struct __user *, arg) > return error; > } > > +#ifdef CONFIG_SYSVIPC > /* > * sys_ipc() is the de-multiplexer for the SysV IPC calls. > */ > @@ -76,6 +77,7 @@ SYSCALL_DEFINE5(s390_ipc, uint, call, int, first, unsigned long, second, > */ > return ksys_ipc(call, first, second, third, ptr, third); > } > +#endif /* CONFIG_SYSVIPC */ Ack. > SYSCALL_DEFINE1(s390_personality, unsigned int, personality) > { > diff --git a/kernel/sys_ni.c b/kernel/sys_ni.c > index ab9d0e3c6d50..ad016a7db0ea 100644 > --- a/kernel/sys_ni.c > +++ b/kernel/sys_ni.c > @@ -366,7 +366,7 @@ COND_SYSCALL(kexec_file_load); > /* s390 */ > COND_SYSCALL(s390_pci_mmio_read); > COND_SYSCALL(s390_pci_mmio_write); > -COND_SYSCALL_COMPAT(s390_ipc); > +COND_SYSCALL(s390_ipc); > > /* powerpc */ > COND_SYSCALL(rtas); I think you need to keep the COND_SYSCALL_COMPAT(s390_ipc); here, otherwise it still fails with CONFIG_SYSV_IPC=n, CONFIG_COMPAT=y, right? Arnd