net/mlx4_core: Adjust port number in qp_attach wrapper when detaching
[cascardo/linux.git] / net / socket.c
index 1b1e7e6..abf56b2 100644 (file)
@@ -1880,8 +1880,8 @@ out:
  *     Receive a datagram from a socket.
  */
 
-asmlinkage long sys_recv(int fd, void __user *ubuf, size_t size,
-                        unsigned int flags)
+SYSCALL_DEFINE4(recv, int, fd, void __user *, ubuf, size_t, size,
+               unsigned int, flags)
 {
        return sys_recvfrom(fd, ubuf, size, flags, NULL, NULL);
 }