Re: [PATCH v2] ipc: provide generic compat versions of IPC syscalls
From: Arnd Bergmann <arnd@arndb.de>
Date: 2011-12-09 23:22:28
Also in:
linux-mips, linux-s390, lkml, sparclinux
From: Arnd Bergmann <arnd@arndb.de>
Date: 2011-12-09 23:22:28
Also in:
linux-mips, linux-s390, lkml, sparclinux
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