From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Carstens Subject: Re: [PATCH 4/5] all: s390: move compat_wrappers.c from arch/s390/kernel to kernel/ Date: Thu, 25 Feb 2016 09:52:27 +0100 Message-ID: <20160225085227.GD3980@osiris> References: <1456338854-14901-1-git-send-email-ynorov@caviumnetworks.com> <1456338854-14901-5-git-send-email-ynorov@caviumnetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1456338854-14901-5-git-send-email-ynorov@caviumnetworks.com> Sender: linux-kernel-owner@vger.kernel.org To: Yury Norov Cc: arnd@arndb.de, catalin.marinas@arm.com, linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arch@vger.kernel.org, linux-doc@vger.kernel.org, Prasun.Kapoor@caviumnetworks.com, pinskia@gmail.com, agraf@suse.de, broonie@kernel.org, joseph@codesourcery.com, christoph.muellner@theobroma-systems.com, Nathan_Lynch@mentor.com, klimov.linux@gmail.com, bamvor.zhangjian@huawei.com List-Id: linux-arch.vger.kernel.org On Wed, Feb 24, 2016 at 09:34:13PM +0300, Yury Norov wrote: > Some syscalls are declared conditionally, so corresponding wrappers > are conditional accordingly. > > Signed-off-by: Yury Norov > --- > arch/s390/kernel/Makefile | 2 +- > arch/s390/kernel/compat_wrapper.c | 129 ----------------------------- > kernel/Makefile | 1 + > kernel/compat_wrapper.c | 170 ++++++++++++++++++++++++++++++++++++++ > 4 files changed, 172 insertions(+), 130 deletions(-) > delete mode 100644 arch/s390/kernel/compat_wrapper.c > create mode 100644 kernel/compat_wrapper.c Generated code looks identical on s390 and of course still works! From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from e06smtp14.uk.ibm.com ([195.75.94.110]:47887 "EHLO e06smtp14.uk.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760141AbcBYIwm (ORCPT ); Thu, 25 Feb 2016 03:52:42 -0500 Received: from localhost by e06smtp14.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 25 Feb 2016 08:52:36 -0000 Date: Thu, 25 Feb 2016 09:52:27 +0100 From: Heiko Carstens Subject: Re: [PATCH 4/5] all: s390: move compat_wrappers.c from arch/s390/kernel to kernel/ Message-ID: <20160225085227.GD3980@osiris> References: <1456338854-14901-1-git-send-email-ynorov@caviumnetworks.com> <1456338854-14901-5-git-send-email-ynorov@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1456338854-14901-5-git-send-email-ynorov@caviumnetworks.com> Sender: linux-arch-owner@vger.kernel.org List-ID: To: Yury Norov Cc: arnd@arndb.de, catalin.marinas@arm.com, linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arch@vger.kernel.org, linux-doc@vger.kernel.org, Prasun.Kapoor@caviumnetworks.com, pinskia@gmail.com, agraf@suse.de, broonie@kernel.org, joseph@codesourcery.com, christoph.muellner@theobroma-systems.com, Nathan_Lynch@mentor.com, klimov.linux@gmail.com, bamvor.zhangjian@huawei.com Message-ID: <20160225085227.nsamepb6Yl6XvLsVRtltlvyh2pXR9iPWoSA4bcom5aw@z> On Wed, Feb 24, 2016 at 09:34:13PM +0300, Yury Norov wrote: > Some syscalls are declared conditionally, so corresponding wrappers > are conditional accordingly. > > Signed-off-by: Yury Norov > --- > arch/s390/kernel/Makefile | 2 +- > arch/s390/kernel/compat_wrapper.c | 129 ----------------------------- > kernel/Makefile | 1 + > kernel/compat_wrapper.c | 170 ++++++++++++++++++++++++++++++++++++++ > 4 files changed, 172 insertions(+), 130 deletions(-) > delete mode 100644 arch/s390/kernel/compat_wrapper.c > create mode 100644 kernel/compat_wrapper.c Generated code looks identical on s390 and of course still works!