diff options
Diffstat (limited to 'arch/sh')
-rw-r--r-- | arch/sh/include/asm/unistd_32.h | 21 | ||||
-rw-r--r-- | arch/sh/kernel/syscalls_32.S | 18 |
2 files changed, 38 insertions, 1 deletions
diff --git a/arch/sh/include/asm/unistd_32.h b/arch/sh/include/asm/unistd_32.h index 01183add5687..2000709e681f 100644 --- a/arch/sh/include/asm/unistd_32.h +++ b/arch/sh/include/asm/unistd_32.h | |||
@@ -349,7 +349,26 @@ | |||
349 | #define __NR_fanotify_mark 338 | 349 | #define __NR_fanotify_mark 338 |
350 | #define __NR_prlimit64 339 | 350 | #define __NR_prlimit64 339 |
351 | 351 | ||
352 | #define NR_syscalls 340 | 352 | /* Non-multiplexed socket family */ |
353 | #define __NR_socket 340 | ||
354 | #define __NR_bind 341 | ||
355 | #define __NR_connect 342 | ||
356 | #define __NR_listen 343 | ||
357 | #define __NR_accept 344 | ||
358 | #define __NR_getsockname 345 | ||
359 | #define __NR_getpeername 346 | ||
360 | #define __NR_socketpair 347 | ||
361 | #define __NR_send 348 | ||
362 | #define __NR_sendto 349 | ||
363 | #define __NR_recv 350 | ||
364 | #define __NR_recvfrom 351 | ||
365 | #define __NR_shutdown 352 | ||
366 | #define __NR_setsockopt 353 | ||
367 | #define __NR_getsockopt 354 | ||
368 | #define __NR_sendmsg 355 | ||
369 | #define __NR_recvmsg 356 | ||
370 | |||
371 | #define NR_syscalls 357 | ||
353 | 372 | ||
354 | #ifdef __KERNEL__ | 373 | #ifdef __KERNEL__ |
355 | 374 | ||
diff --git a/arch/sh/kernel/syscalls_32.S b/arch/sh/kernel/syscalls_32.S index 3c6d669740a7..0847433e2dbe 100644 --- a/arch/sh/kernel/syscalls_32.S +++ b/arch/sh/kernel/syscalls_32.S | |||
@@ -356,3 +356,21 @@ ENTRY(sys_call_table) | |||
356 | .long sys_fanotify_init | 356 | .long sys_fanotify_init |
357 | .long sys_fanotify_mark | 357 | .long sys_fanotify_mark |
358 | .long sys_prlimit64 | 358 | .long sys_prlimit64 |
359 | /* Broken-out socket family */ | ||
360 | .long sys_socket /* 340 */ | ||
361 | .long sys_bind | ||
362 | .long sys_connect | ||
363 | .long sys_listen | ||
364 | .long sys_accept | ||
365 | .long sys_getsockname /* 345 */ | ||
366 | .long sys_getpeername | ||
367 | .long sys_socketpair | ||
368 | .long sys_send | ||
369 | .long sys_sendto | ||
370 | .long sys_recv /* 350 */ | ||
371 | .long sys_recvfrom | ||
372 | .long sys_shutdown | ||
373 | .long sys_setsockopt | ||
374 | .long sys_getsockopt | ||
375 | .long sys_sendmsg /* 355 */ | ||
376 | .long sys_recvmsg | ||