mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-30 16:07:39 +00:00
[ARM] Add memory type based allocation syscalls
Add syscall numbers and syscall table entries for mbind, set_mempolicy and get_mempolicy. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
parent
5f50241302
commit
9c2c389307
2 changed files with 7 additions and 1 deletions
|
@ -10,7 +10,7 @@
|
||||||
* This file is included twice in entry-common.S
|
* This file is included twice in entry-common.S
|
||||||
*/
|
*/
|
||||||
#ifndef NR_syscalls
|
#ifndef NR_syscalls
|
||||||
#define NR_syscalls 320
|
#define NR_syscalls 328
|
||||||
#else
|
#else
|
||||||
|
|
||||||
__syscall_start:
|
__syscall_start:
|
||||||
|
@ -333,6 +333,9 @@ __syscall_start:
|
||||||
.long sys_inotify_init
|
.long sys_inotify_init
|
||||||
.long sys_inotify_add_watch
|
.long sys_inotify_add_watch
|
||||||
.long sys_inotify_rm_watch
|
.long sys_inotify_rm_watch
|
||||||
|
.long sys_mbind
|
||||||
|
/* 320 */ .long sys_get_mempolicy
|
||||||
|
.long sys_set_mempolicy
|
||||||
__syscall_end:
|
__syscall_end:
|
||||||
|
|
||||||
.rept NR_syscalls - (__syscall_end - __syscall_start) / 4
|
.rept NR_syscalls - (__syscall_end - __syscall_start) / 4
|
||||||
|
|
|
@ -355,6 +355,9 @@
|
||||||
#define __NR_inotify_init (__NR_SYSCALL_BASE+316)
|
#define __NR_inotify_init (__NR_SYSCALL_BASE+316)
|
||||||
#define __NR_inotify_add_watch (__NR_SYSCALL_BASE+317)
|
#define __NR_inotify_add_watch (__NR_SYSCALL_BASE+317)
|
||||||
#define __NR_inotify_rm_watch (__NR_SYSCALL_BASE+318)
|
#define __NR_inotify_rm_watch (__NR_SYSCALL_BASE+318)
|
||||||
|
#define __NR_mbind (__NR_SYSCALL_BASE+319)
|
||||||
|
#define __NR_get_mempolicy (__NR_SYSCALL_BASE+320)
|
||||||
|
#define __NR_set_mempolicy (__NR_SYSCALL_BASE+321)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The following SWIs are ARM private.
|
* The following SWIs are ARM private.
|
||||||
|
|
Loading…
Reference in a new issue