Add mlockall and munlockall for Google TV.

Change-Id: I10e961d701e74aab07211ec7975f61167e387853
This commit is contained in:
Elliott Hughes
2012-09-06 11:24:45 -07:00
parent 6e3b0f2d2e
commit 1ad05db9ce
11 changed files with 130 additions and 1 deletions

View File

@@ -119,6 +119,8 @@
#define __NR_madvise (__NR_SYSCALL_BASE + 220)
#define __NR_mlock (__NR_SYSCALL_BASE + 150)
#define __NR_munlock (__NR_SYSCALL_BASE + 151)
#define __NR_mlockall (__NR_SYSCALL_BASE + 152)
#define __NR_munlockall (__NR_SYSCALL_BASE + 153)
#define __NR_mincore (__NR_SYSCALL_BASE + 219)
#define __NR_pipe (__NR_SYSCALL_BASE + 42)
#define __NR_pipe2 (__NR_SYSCALL_BASE + 359)
@@ -222,6 +224,8 @@
#define __NR_fdatasync (__NR_SYSCALL_BASE + 148)
#define __NR_mlock (__NR_SYSCALL_BASE + 150)
#define __NR_munlock (__NR_SYSCALL_BASE + 151)
#define __NR_mlockall (__NR_SYSCALL_BASE + 152)
#define __NR_munlockall (__NR_SYSCALL_BASE + 153)
#define __NR_sched_setparam (__NR_SYSCALL_BASE + 154)
#define __NR_sched_getparam (__NR_SYSCALL_BASE + 155)
#define __NR_sched_setscheduler (__NR_SYSCALL_BASE + 156)
@@ -350,6 +354,8 @@
#define __NR_fdatasync (__NR_SYSCALL_BASE + 152)
#define __NR_mlock (__NR_SYSCALL_BASE + 154)
#define __NR_munlock (__NR_SYSCALL_BASE + 155)
#define __NR_mlockall (__NR_SYSCALL_BASE + 156)
#define __NR_munlockall (__NR_SYSCALL_BASE + 157)
#define __NR_sched_setparam (__NR_SYSCALL_BASE + 158)
#define __NR_sched_getparam (__NR_SYSCALL_BASE + 159)
#define __NR_sched_setscheduler (__NR_SYSCALL_BASE + 160)