aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/scall64-n32.S
diff options
context:
space:
mode:
authorHuacai Chen <chenhc@lemote.com>2014-06-25 23:41:29 -0400
committerRalf Baechle <ralf@linux-mips.org>2014-07-30 15:46:41 -0400
commit1ff1ad6bc2c63f219cbc00dcdd35dcf36a7d6fe4 (patch)
tree5acbc978cb32b8492cf0e42168620e2a89c2548c /arch/mips/kernel/scall64-n32.S
parentc46173183657bbdbe0d54a981c28807581648422 (diff)
MIPS: Add numa api support
Enable sys_mbind()/sys_get_mempolicy()/sys_set_mempolicy() for O32, N32, and N64 ABIs. By the way, O32/N32 should use the compat version of sys_migrate_pages()/sys_move_pages(), so fix that. Signed-off-by: Huacai Chen <chenhc@lemote.com> Cc: John Crispin <john@phrozen.org> Cc: Steven J. Hill <Steven.Hill@imgtec.com> Cc: Aurelien Jarno <aurelien@aurel32.net> Cc: linux-mips@linux-mips.org Cc: Fuxin Zhang <zhangfx@lemote.com> Cc: Zhangjin Wu <wuzhangjin@gmail.com> Patchwork: https://patchwork.linux-mips.org/patch/7186/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/scall64-n32.S')
-rw-r--r--arch/mips/kernel/scall64-n32.S10
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/mips/kernel/scall64-n32.S b/arch/mips/kernel/scall64-n32.S
index c1dbcda4b816..7641c87be99a 100644
--- a/arch/mips/kernel/scall64-n32.S
+++ b/arch/mips/kernel/scall64-n32.S
@@ -339,9 +339,9 @@ EXPORT(sysn32_call_table)
339 PTR compat_sys_clock_nanosleep 339 PTR compat_sys_clock_nanosleep
340 PTR sys_tgkill 340 PTR sys_tgkill
341 PTR compat_sys_utimes /* 6230 */ 341 PTR compat_sys_utimes /* 6230 */
342 PTR sys_ni_syscall /* sys_mbind */ 342 PTR compat_sys_mbind
343 PTR sys_ni_syscall /* sys_get_mempolicy */ 343 PTR compat_sys_get_mempolicy
344 PTR sys_ni_syscall /* sys_set_mempolicy */ 344 PTR compat_sys_set_mempolicy
345 PTR compat_sys_mq_open 345 PTR compat_sys_mq_open
346 PTR sys_mq_unlink /* 6235 */ 346 PTR sys_mq_unlink /* 6235 */
347 PTR compat_sys_mq_timedsend 347 PTR compat_sys_mq_timedsend
@@ -358,7 +358,7 @@ EXPORT(sysn32_call_table)
358 PTR sys_inotify_init 358 PTR sys_inotify_init
359 PTR sys_inotify_add_watch 359 PTR sys_inotify_add_watch
360 PTR sys_inotify_rm_watch 360 PTR sys_inotify_rm_watch
361 PTR sys_migrate_pages /* 6250 */ 361 PTR compat_sys_migrate_pages /* 6250 */
362 PTR sys_openat 362 PTR sys_openat
363 PTR sys_mkdirat 363 PTR sys_mkdirat
364 PTR sys_mknodat 364 PTR sys_mknodat
@@ -379,7 +379,7 @@ EXPORT(sysn32_call_table)
379 PTR sys_sync_file_range 379 PTR sys_sync_file_range
380 PTR sys_tee 380 PTR sys_tee
381 PTR compat_sys_vmsplice /* 6270 */ 381 PTR compat_sys_vmsplice /* 6270 */
382 PTR sys_move_pages 382 PTR compat_sys_move_pages
383 PTR compat_sys_set_robust_list 383 PTR compat_sys_set_robust_list
384 PTR compat_sys_get_robust_list 384 PTR compat_sys_get_robust_list
385 PTR compat_sys_kexec_load 385 PTR compat_sys_kexec_load