Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Fix up prototype for sys_ipc breakage

Commit 45575f5a426c ("ppc64 sys_ipc breakage in 2.6.34-rc2") fixed the
definition of the sys_ipc() helper, but didn't fix the prototype in
<linux/syscalls.h>

Reported-and-tested-by: Andreas Schwab <schwab@linux-m68k.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

+1 -1
+1 -1
include/linux/syscalls.h
··· 688 688 asmlinkage long sys_shmget(key_t key, size_t size, int flag); 689 689 asmlinkage long sys_shmdt(char __user *shmaddr); 690 690 asmlinkage long sys_shmctl(int shmid, int cmd, struct shmid_ds __user *buf); 691 - asmlinkage long sys_ipc(unsigned int call, int first, int second, 691 + asmlinkage long sys_ipc(unsigned int call, int first, unsigned long second, 692 692 unsigned long third, void __user *ptr, long fifth); 693 693 694 694 asmlinkage long sys_mq_open(const char __user *name, int oflag, mode_t mode, struct mq_attr __user *attr);