From: Jan Dakinevich <jan.dakinev...@gmail.com> Reviewed-by: David Daney <dda...@caviumnetworks.com>
Signed-off-by: Yury Norov <yno...@caviumnetworks.com> Signed-off-by: Jan Dakinevich <jan.dakinev...@gmail.com> --- arch/arm64/kernel/sys_ilp32.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm64/kernel/sys_ilp32.c b/arch/arm64/kernel/sys_ilp32.c index c366d92..a2596f4 100644 --- a/arch/arm64/kernel/sys_ilp32.c +++ b/arch/arm64/kernel/sys_ilp32.c @@ -98,6 +98,25 @@ asmlinkage long compat_sys_statfs64_wrapper(void); #define compat_sys_pwritev compat_sys_pwritev64 +/* IPC_64 */ +asmlinkage long ilp32_sys_msgctl(int first, int second, void __user *uptr) +{ + return compat_sys_msgctl(first, second | IPC_64, uptr); +} +#define compat_sys_msgctl ilp32_sys_msgctl + +asmlinkage long ilp32_sys_shmctl(int first, int second, void __user *uptr) +{ + return compat_sys_shmctl(first, second | IPC_64, uptr); +} +#define compat_sys_shmctl ilp32_sys_shmctl + +asmlinkage long ilp32_sys_semctl(int first, int second, int third, int arg) +{ + return compat_sys_semctl(first, second, third | IPC_64, arg); +} +#define compat_sys_semctl ilp32_sys_semctl + #include <asm/syscall.h> #undef __SYSCALL -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/