From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.186]) by ozlabs.org (Postfix) with ESMTP id 73534B6F6F for ; Sat, 10 Dec 2011 10:22:51 +1100 (EST) From: Arnd Bergmann To: Andrew Morton Subject: Re: [PATCH v2] ipc: provide generic compat versions of IPC syscalls Date: Sat, 10 Dec 2011 00:21:35 +0100 Message-ID: <1690400.7yOAjHVqTH@wuerfel> In-Reply-To: <20111209134852.f5b5bcbc.akpm@linux-foundation.org> References: <201112091536.pB9Fa5f7002738@farm-0002.internal.tilera.com> <201112091903.pB9J39pd031553@farm-0002.internal.tilera.com> <20111209134852.f5b5bcbc.akpm@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Cc: linux-mips@linux-mips.org, NeilBrown , Heiko Carstens , Paul Mackerras , "H. Peter Anvin" , sparclinux@vger.kernel.org, Christoph Hellwig , linux-s390@vger.kernel.org, "J. Bruce Fields" , x86@kernel.org, Ingo Molnar , Lucas De Marchi , Chris Metcalf , Thomas Gleixner , Dmitry Torokhov , linux-kernel@vger.kernel.org, Ralf Baechle , "Eric W. Biederman" , Martin Schwidefsky , linux390@de.ibm.com, linuxppc-dev@lists.ozlabs.org, "David S. Miller" List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Friday 09 December 2011 13:48:52 Andrew Morton wrote: > What would we need to do to get all architectures using the new > interfaces, and remove __ARCH_WANT_OLD_COMPAT_IPC? We would change the various compat_sys_ipc functions (mips, powerpc, s390, sparc, x86) to call the new functions instead of the existing ones, and test each architecture. For parisc, we might not actually need the either version, but I'd have to take a closer look to be sure. > Regarding the implementation: rather than patching the header > files, it would be more conventional (and arguably better) to add > > select ARCH_WANT_OLD_COMPAT_IPC > > to arch/*/Kconfig, then use CONFIG_ARCH_WANT_OLD_COMPAT_IPC. Yes. Arnd