diff options
| -rw-r--r-- | arch/mips/include/uapi/asm/unistd.h | 5 | ||||
| -rw-r--r-- | arch/mips/kernel/scall64-64.S | 1 |
2 files changed, 4 insertions, 2 deletions
diff --git a/arch/mips/include/uapi/asm/unistd.h b/arch/mips/include/uapi/asm/unistd.h index 16338b84fa79..1dee279f9665 100644 --- a/arch/mips/include/uapi/asm/unistd.h +++ b/arch/mips/include/uapi/asm/unistd.h | |||
| @@ -694,16 +694,17 @@ | |||
| 694 | #define __NR_process_vm_writev (__NR_Linux + 305) | 694 | #define __NR_process_vm_writev (__NR_Linux + 305) |
| 695 | #define __NR_kcmp (__NR_Linux + 306) | 695 | #define __NR_kcmp (__NR_Linux + 306) |
| 696 | #define __NR_finit_module (__NR_Linux + 307) | 696 | #define __NR_finit_module (__NR_Linux + 307) |
| 697 | #define __NR_getdents64 (__NR_Linux + 308) | ||
| 697 | 698 | ||
| 698 | /* | 699 | /* |
| 699 | * Offset of the last Linux 64-bit flavoured syscall | 700 | * Offset of the last Linux 64-bit flavoured syscall |
| 700 | */ | 701 | */ |
| 701 | #define __NR_Linux_syscalls 307 | 702 | #define __NR_Linux_syscalls 308 |
| 702 | 703 | ||
| 703 | #endif /* _MIPS_SIM == _MIPS_SIM_ABI64 */ | 704 | #endif /* _MIPS_SIM == _MIPS_SIM_ABI64 */ |
| 704 | 705 | ||
| 705 | #define __NR_64_Linux 5000 | 706 | #define __NR_64_Linux 5000 |
| 706 | #define __NR_64_Linux_syscalls 307 | 707 | #define __NR_64_Linux_syscalls 308 |
| 707 | 708 | ||
| 708 | #if _MIPS_SIM == _MIPS_SIM_NABI32 | 709 | #if _MIPS_SIM == _MIPS_SIM_NABI32 |
| 709 | 710 | ||
diff --git a/arch/mips/kernel/scall64-64.S b/arch/mips/kernel/scall64-64.S index 36cfd4060e1f..97a5909a61cf 100644 --- a/arch/mips/kernel/scall64-64.S +++ b/arch/mips/kernel/scall64-64.S | |||
| @@ -423,4 +423,5 @@ sys_call_table: | |||
| 423 | PTR sys_process_vm_writev /* 5305 */ | 423 | PTR sys_process_vm_writev /* 5305 */ |
| 424 | PTR sys_kcmp | 424 | PTR sys_kcmp |
| 425 | PTR sys_finit_module | 425 | PTR sys_finit_module |
| 426 | PTR sys_getdents64 | ||
| 426 | .size sys_call_table,.-sys_call_table | 427 | .size sys_call_table,.-sys_call_table |
