Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753859AbcD2PqX (ORCPT ); Fri, 29 Apr 2016 11:46:23 -0400 Received: from mout.kundenserver.de ([217.72.192.75]:57641 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753695AbcD2PqV (ORCPT ); Fri, 29 Apr 2016 11:46:21 -0400 From: Arnd Bergmann To: Yury Norov Cc: Catalin Marinas , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linux-s390@vger.kernel.org, pinskia@gmail.com, Prasun.Kapoor@caviumnetworks.com, schwab@suse.de, broonie@kernel.org, linux-doc@vger.kernel.org, heiko.carstens@de.ibm.com, agraf@suse.de, klimov.linux@gmail.com, Andrew Pinski , bamvor.zhangjian@huawei.com, Andrew Pinski , schwidefsky@de.ibm.com, Nathan_Lynch@mentor.com, joseph@codesourcery.com, christoph.muellner@theobroma-systems.com Subject: Re: [PATCH 20/25] arm64:ilp32: add sys_ilp32.c and a separate table (in entry.S) to use it Date: Fri, 29 Apr 2016 17:45:12 +0200 Message-ID: <26638986.ZDcHcYF1jk@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: <20160429131338.GB32007@yury-N73SV> References: <1459894127-17698-1-git-send-email-ynorov@caviumnetworks.com> <4271094.ei7kj5zJxn@wuerfel> <20160429131338.GB32007@yury-N73SV> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:naa82U/E4pKfEFSeXEP6Q4Vn8bkf76/+3bNAz9Dp4agM8J+6XuU EyE8DjbCaKPG6CXITRno2iU3XzbuH0tRIh3Ce7fXwgI6t3/FbYWc40UG6oqSTOCDnDkRllM ixmiIX0/yy64BfLVvZimVeL6NlrsXOhVcnrJaX5OuYMH+Gvb/hueZk1R1uc0hkqfpZ6gmGc 8ZpxpLXyEr07lFzAcMkNA== X-UI-Out-Filterresults: notjunk:1;V01:K0:j/dhfHEjTKc=:2E/Av7GD6KLYVU3PaMOzcW osG5K69YOuDJM04aRMZkLTWaPP8la5RQnLFOK5cQxjrK/0P2QHyC3EnM48W6Px9GcFC3c1uto O8bT0K5i7VB9E2GzsODCCZg4F4mpmsJFc7lQwfyE3BH7J5Hb/A/iNiz3AnO1umxi1decCgiFA hC/mmUwAduSk+1mj99gHzHon1nRmdVN18eO1W6XKi0TxBhwTB/AbHjRGho/ANpSBh7Q0aIIJ/ 1Buh/llFAmdvll5lVNQQtKj+RDCdvJ4ILQIKspFwIyzoKPdu3Vgq+HeL6yzvWB9gApXbPqnX/ VVwgJQKXjN0PQD8SdfVSs+aRBzgB2f59C08hg2qqrp3Uqs8t4oS01Q+8n3wE0aU+C2MdJ/69w zx9yaJhLWfIjU7kuHbU9achhPk1cb7in20RWzuD+FYRxN1PoZ2Ty7xvruaqIxQiR4o7ORBTzp piAPwWkLYccRxwW5Vj/69HR2EXflIgvTdZSxpM9fyL88QIGh598Le8ohjwVgEEqbEn7NQ+GdM IKETCDUgkMxhTIAy0NjUCZTu828ubFRm5klZJxFYRxf+6CF8bjcdsyjwh1NnqVNNV61s90bjS jRyDc/QzWNbuaqq6VWYghy88DiOO7ZHyBRcRuAXKvk+k80xE+bS/SWJ110fR8AVfC0DF/fKTf vD2NCxlTvbTdtr4gyXfVoXWKG4iuuvVIYjU9L3SoPYQ5wubOhhXSZdGyO3mHaRhaZfazOaViE m/MH9WXNFRwd7nYF Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 957 Lines: 25 On Friday 29 April 2016 16:13:38 Yury Norov wrote: > On Fri, Apr 29, 2016 at 12:43:41AM +0200, Arnd Bergmann wrote: > > On Friday 29 April 2016 01:21:37 Yury Norov wrote: > > > > > > arch/arm64/kernel/sys_ilp32.c:59:0: warning: "__SYSCALL" redefined > > > #define __SYSCALL(nr, sym) [nr] = sym, > > > ^ > > > In file included from include/asm-generic/unistd.h:1:0, > > > > > > > Ok, I think I see it now. Can you #undef the two symbols at the > > end of arch/arm64/include/uapi/asm/unistd.h > > I think it doesn't look better than what we have now, but not worse > as well. If you like it, I'll change. I looked again and saw that the existing architectures also #undef __SYSCALL, and they don't have __SC_WRAP. It's probably fine to just #undef the two here (don't undef SC_COMP, __SC_3264 and SC_COMP_3264). Changing the asm-generic header to not require the #undef would be nice, but then we should do that for all 12 users of that file. Arnd