summaryrefslogtreecommitdiff
path: root/ipc/mqueue.c
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2009-01-14 14:13:54 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2009-01-18 10:43:50 -0800
commit46a49d997344f09fae6c341fc67ef9aac75f0778 (patch)
tree755c0b6768ba8362666aff194dc485fd163e32f5 /ipc/mqueue.c
parentd720c4ed5645f1499d9671d1dbe601ae16f1fa59 (diff)
downloadlwn-46a49d997344f09fae6c341fc67ef9aac75f0778.tar.gz
lwn-46a49d997344f09fae6c341fc67ef9aac75f0778.zip
Convert all system calls to return a long
commit 2ed7c03ec17779afb4fcfa3b8c61df61bd4879ba upstream. Convert all system calls to return a long. This should be a NOP since all converted types should have the same size anyway. With the exception of sys_exit_group which returned void. But that doesn't matter since the system call doesn't return. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'ipc/mqueue.c')
-rw-r--r--ipc/mqueue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipc/mqueue.c b/ipc/mqueue.c
index 68eb857cfdea..e83974f1a938 100644
--- a/ipc/mqueue.c
+++ b/ipc/mqueue.c
@@ -904,7 +904,7 @@ out:
return ret;
}
-asmlinkage ssize_t sys_mq_timedreceive(mqd_t mqdes, char __user *u_msg_ptr,
+asmlinkage long sys_mq_timedreceive(mqd_t mqdes, char __user *u_msg_ptr,
size_t msg_len, unsigned int __user *u_msg_prio,
const struct timespec __user *u_abs_timeout)
{