summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/unistd.h
diff options
context:
space:
mode:
authorIan Munsie <imunsie@au1.ibm.com>2010-08-25 18:50:28 +0000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2010-09-02 14:07:34 +1000
commit86250b9d12caa1a3dee12a7cf638b7dd70eaadb6 (patch)
tree0827c43903b8f6cabfca61eb2c3c5d13b70ac643 /arch/powerpc/include/asm/unistd.h
parent7cf9bac559d233ff3a7fdbbdc4fc4c184abc5f59 (diff)
downloadblackbird-op-linux-86250b9d12caa1a3dee12a7cf638b7dd70eaadb6.tar.gz
blackbird-op-linux-86250b9d12caa1a3dee12a7cf638b7dd70eaadb6.zip
powerpc: Wire up direct socket system calls
This patch wires up the various socket system calls on PowerPC so that userspace can call them directly, rather than by going through the multiplexed socketcall system call. Signed-off-by: Ian Munsie <imunsie@au1.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm/unistd.h')
-rw-r--r--arch/powerpc/include/asm/unistd.h21
1 files changed, 20 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/unistd.h b/arch/powerpc/include/asm/unistd.h
index 597e6f9d094a..6151937657f6 100644
--- a/arch/powerpc/include/asm/unistd.h
+++ b/arch/powerpc/include/asm/unistd.h
@@ -348,10 +348,29 @@
#define __NR_fanotify_init 323
#define __NR_fanotify_mark 324
#define __NR_prlimit64 325
+#define __NR_socket 326
+#define __NR_bind 327
+#define __NR_connect 328
+#define __NR_listen 329
+#define __NR_accept 330
+#define __NR_getsockname 331
+#define __NR_getpeername 332
+#define __NR_socketpair 333
+#define __NR_send 334
+#define __NR_sendto 335
+#define __NR_recv 336
+#define __NR_recvfrom 337
+#define __NR_shutdown 338
+#define __NR_setsockopt 339
+#define __NR_getsockopt 340
+#define __NR_sendmsg 341
+#define __NR_recvmsg 342
+#define __NR_recvmmsg 343
+#define __NR_accept4 344
#ifdef __KERNEL__
-#define __NR_syscalls 326
+#define __NR_syscalls 345
#define __NR__exit __NR_exit
#define NR_syscalls __NR_syscalls
OpenPOWER on IntegriCloud