aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/include/asm/unistd.h21
-rw-r--r--arch/mips/kernel/scall32-o32.S3
-rw-r--r--arch/mips/kernel/scall64-64.S3
-rw-r--r--arch/mips/kernel/scall64-n32.S3
-rw-r--r--arch/mips/kernel/scall64-o32.S3
5 files changed, 27 insertions, 6 deletions
diff --git a/arch/mips/include/asm/unistd.h b/arch/mips/include/asm/unistd.h
index 550725b881d5..d1ea5ea7802a 100644
--- a/arch/mips/include/asm/unistd.h
+++ b/arch/mips/include/asm/unistd.h
@@ -359,16 +359,19 @@
359#define __NR_fanotify_init (__NR_Linux + 336) 359#define __NR_fanotify_init (__NR_Linux + 336)
360#define __NR_fanotify_mark (__NR_Linux + 337) 360#define __NR_fanotify_mark (__NR_Linux + 337)
361#define __NR_prlimit64 (__NR_Linux + 338) 361#define __NR_prlimit64 (__NR_Linux + 338)
362#define __NR_name_to_handle_at (__NR_Linux + 339)
363#define __NR_open_by_handle_at (__NR_Linux + 340)
364#define __NR_clock_adjtime (__NR_Linux + 341)
362 365
363/* 366/*
364 * Offset of the last Linux o32 flavoured syscall 367 * Offset of the last Linux o32 flavoured syscall
365 */ 368 */
366#define __NR_Linux_syscalls 338 369#define __NR_Linux_syscalls 341
367 370
368#endif /* _MIPS_SIM == _MIPS_SIM_ABI32 */ 371#endif /* _MIPS_SIM == _MIPS_SIM_ABI32 */
369 372
370#define __NR_O32_Linux 4000 373#define __NR_O32_Linux 4000
371#define __NR_O32_Linux_syscalls 338 374#define __NR_O32_Linux_syscalls 341
372 375
373#if _MIPS_SIM == _MIPS_SIM_ABI64 376#if _MIPS_SIM == _MIPS_SIM_ABI64
374 377
@@ -674,16 +677,19 @@
674#define __NR_fanotify_init (__NR_Linux + 295) 677#define __NR_fanotify_init (__NR_Linux + 295)
675#define __NR_fanotify_mark (__NR_Linux + 296) 678#define __NR_fanotify_mark (__NR_Linux + 296)
676#define __NR_prlimit64 (__NR_Linux + 297) 679#define __NR_prlimit64 (__NR_Linux + 297)
680#define __NR_name_to_handle_at (__NR_Linux + 298)
681#define __NR_open_by_handle_at (__NR_Linux + 299)
682#define __NR_clock_adjtime (__NR_Linux + 300)
677 683
678/* 684/*
679 * Offset of the last Linux 64-bit flavoured syscall 685 * Offset of the last Linux 64-bit flavoured syscall
680 */ 686 */
681#define __NR_Linux_syscalls 297 687#define __NR_Linux_syscalls 300
682 688
683#endif /* _MIPS_SIM == _MIPS_SIM_ABI64 */ 689#endif /* _MIPS_SIM == _MIPS_SIM_ABI64 */
684 690
685#define __NR_64_Linux 5000 691#define __NR_64_Linux 5000
686#define __NR_64_Linux_syscalls 297 692#define __NR_64_Linux_syscalls 300
687 693
688#if _MIPS_SIM == _MIPS_SIM_NABI32 694#if _MIPS_SIM == _MIPS_SIM_NABI32
689 695
@@ -994,16 +1000,19 @@
994#define __NR_fanotify_init (__NR_Linux + 300) 1000#define __NR_fanotify_init (__NR_Linux + 300)
995#define __NR_fanotify_mark (__NR_Linux + 301) 1001#define __NR_fanotify_mark (__NR_Linux + 301)
996#define __NR_prlimit64 (__NR_Linux + 302) 1002#define __NR_prlimit64 (__NR_Linux + 302)
1003#define __NR_name_to_handle_at (__NR_Linux + 303)
1004#define __NR_open_by_handle_at (__NR_Linux + 304)
1005#define __NR_clock_adjtime (__NR_Linux + 305)
997 1006
998/* 1007/*
999 * Offset of the last N32 flavoured syscall 1008 * Offset of the last N32 flavoured syscall
1000 */ 1009 */
1001#define __NR_Linux_syscalls 302 1010#define __NR_Linux_syscalls 305
1002 1011
1003#endif /* _MIPS_SIM == _MIPS_SIM_NABI32 */ 1012#endif /* _MIPS_SIM == _MIPS_SIM_NABI32 */
1004 1013
1005#define __NR_N32_Linux 6000 1014#define __NR_N32_Linux 6000
1006#define __NR_N32_Linux_syscalls 302 1015#define __NR_N32_Linux_syscalls 305
1007 1016
1008#ifdef __KERNEL__ 1017#ifdef __KERNEL__
1009 1018
diff --git a/arch/mips/kernel/scall32-o32.S b/arch/mips/kernel/scall32-o32.S
index fbaabad0e6e2..66b439db91b5 100644
--- a/arch/mips/kernel/scall32-o32.S
+++ b/arch/mips/kernel/scall32-o32.S
@@ -586,6 +586,9 @@ einval: li v0, -ENOSYS
586 sys sys_fanotify_init 2 586 sys sys_fanotify_init 2
587 sys sys_fanotify_mark 6 587 sys sys_fanotify_mark 6
588 sys sys_prlimit64 4 588 sys sys_prlimit64 4
589 sys sys_name_to_handle_at 5
590 sys sys_open_by_handle_at 3 /* 4340 */
591 sys sys_clock_adjtime 2
589 .endm 592 .endm
590 593
591 /* We pre-compute the number of _instruction_ bytes needed to 594 /* We pre-compute the number of _instruction_ bytes needed to
diff --git a/arch/mips/kernel/scall64-64.S b/arch/mips/kernel/scall64-64.S
index 3f4179283207..0ccd6e363b79 100644
--- a/arch/mips/kernel/scall64-64.S
+++ b/arch/mips/kernel/scall64-64.S
@@ -425,4 +425,7 @@ sys_call_table:
425 PTR sys_fanotify_init /* 5295 */ 425 PTR sys_fanotify_init /* 5295 */
426 PTR sys_fanotify_mark 426 PTR sys_fanotify_mark
427 PTR sys_prlimit64 427 PTR sys_prlimit64
428 PTR sys_name_to_handle_at
429 PTR sys_open_by_handle_at
430 PTR sys_clock_adjtime /* 5300 */
428 .size sys_call_table,.-sys_call_table 431 .size sys_call_table,.-sys_call_table
diff --git a/arch/mips/kernel/scall64-n32.S b/arch/mips/kernel/scall64-n32.S
index f08ece6d8acc..179d1c8dcbb2 100644
--- a/arch/mips/kernel/scall64-n32.S
+++ b/arch/mips/kernel/scall64-n32.S
@@ -425,4 +425,7 @@ EXPORT(sysn32_call_table)
425 PTR sys_fanotify_init /* 6300 */ 425 PTR sys_fanotify_init /* 6300 */
426 PTR sys_fanotify_mark 426 PTR sys_fanotify_mark
427 PTR sys_prlimit64 427 PTR sys_prlimit64
428 PTR sys_name_to_handle_at
429 PTR sys_open_by_handle_at
430 PTR compat_sys_clock_adjtime /* 6305 */
428 .size sysn32_call_table,.-sysn32_call_table 431 .size sysn32_call_table,.-sysn32_call_table
diff --git a/arch/mips/kernel/scall64-o32.S b/arch/mips/kernel/scall64-o32.S
index 78d768a3e19d..5c4e0dc52f78 100644
--- a/arch/mips/kernel/scall64-o32.S
+++ b/arch/mips/kernel/scall64-o32.S
@@ -543,4 +543,7 @@ sys_call_table:
543 PTR sys_fanotify_init 543 PTR sys_fanotify_init
544 PTR sys_32_fanotify_mark 544 PTR sys_32_fanotify_mark
545 PTR sys_prlimit64 545 PTR sys_prlimit64
546 PTR sys_name_to_handle_at
547 PTR compat_sys_open_by_handle_at /* 4340 */
548 PTR compat_sys_clock_adjtime
546 .size sys_call_table,.-sys_call_table 549 .size sys_call_table,.-sys_call_table