]> git.baikalelectronics.ru Git - kernel.git/commit
Partial revert of "powerpc: Individual System V IPC system calls"
authorMichael Ellerman <mpe@ellerman.id.au>
Wed, 16 Dec 2015 10:26:28 +0000 (21:26 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 16 Dec 2015 10:52:32 +0000 (21:52 +1100)
commit2532de6381493064cdd76fe4b9a96ef246efde35
tree3ee74d18b7f67d7d6e33d06ed300b570641647a0
parent332ad7a533c035a3af4267c5630372c3516e619f
Partial revert of "powerpc: Individual System V IPC system calls"

This partially reverts commit b14194bbd3c45bbff2a1eb930206749653c67773.

While reviewing the glibc patch to exploit the individual IPC calls,
Arnd & Andreas noticed that we were still requiring userspace to pass
IPC_64 in order to get the new style IPC API.

With a bit of cleanup in the kernel we can drop that requirement, and
instead only provide the new style API, which will simplify things for
userspace.

Rather than try and sneak that patch into 4.4, instead we will drop the
individual IPC calls for powerpc, and merge them again in 4.5 once the
cleanup patch has gone in.

Because we've already added sys_mlock2() as syscall #378, we don't do a
full revert of the IPC calls. Instead we drop the __NR #defines, and
send those now undefined syscall numbers to sys_ni_syscall(). This
leaves a gap in the syscall numbers, but we'll reuse them when we merge
the individual IPC calls.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Acked-by: Arnd Bergmann <arnd@arndb.de>
arch/powerpc/include/asm/systbl.h
arch/powerpc/include/uapi/asm/unistd.h