summaryrefslogtreecommitdiffstats
path: root/arch/parisc/kernel/syscall_table.S
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2013-02-19 20:47:37 +0100
committerHelge Deller <deller@gmx.de>2013-02-20 22:56:50 +0100
commitbf581e15a443fa3569d9def96b512315ba509d6f (patch)
tree248e7bce3b05c4867d33df9f96d844a78a03e654 /arch/parisc/kernel/syscall_table.S
parentparisc: correctly wire up mq_* functions for CONFIG_COMPAT case (diff)
downloadlinux-bf581e15a443fa3569d9def96b512315ba509d6f.tar.xz
linux-bf581e15a443fa3569d9def96b512315ba509d6f.zip
parisc: convert msgrcv and msgsnd syscalls to use compat layer
Switch over to use the existing compat_* implementation for msgrcv() and msgsnd(). Existing code was even partly buggy since it returned on some paths different error codes than the standard. Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc/kernel/syscall_table.S')
-rw-r--r--arch/parisc/kernel/syscall_table.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/parisc/kernel/syscall_table.S b/arch/parisc/kernel/syscall_table.S
index e5fcd4c605e2..773b4ee1e1d3 100644
--- a/arch/parisc/kernel/syscall_table.S
+++ b/arch/parisc/kernel/syscall_table.S
@@ -286,8 +286,8 @@
ENTRY_SAME(semop) /* 185 */
ENTRY_SAME(semget)
ENTRY_DIFF(semctl)
- ENTRY_DIFF(msgsnd)
- ENTRY_DIFF(msgrcv)
+ ENTRY_COMP(msgsnd)
+ ENTRY_COMP(msgrcv)
ENTRY_SAME(msgget) /* 190 */
ENTRY_SAME(msgctl)
ENTRY_SAME(shmat)