summaryrefslogtreecommitdiff
path: root/mm/mlock.c
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2009-01-14 14:14:16 +0100
committerHeiko Carstens <heiko.carstens@de.ibm.com>2009-01-14 14:15:24 +0100
commit3480b25743cb7404928d57efeaa3d085708b04c2 (patch)
tree14d7b42301f2e76cea6772c446f3ee920b29a1b6 /mm/mlock.c
parent6a6160a7b5c27b3c38651baef92a14fa7072b3c1 (diff)
downloadlwn-3480b25743cb7404928d57efeaa3d085708b04c2.tar.gz
lwn-3480b25743cb7404928d57efeaa3d085708b04c2.zip
[CVE-2009-0029] System call wrappers part 14
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'mm/mlock.c')
-rw-r--r--mm/mlock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/mlock.c b/mm/mlock.c
index 04d5e7429c55..2904a347e476 100644
--- a/mm/mlock.c
+++ b/mm/mlock.c
@@ -595,7 +595,7 @@ out:
return 0;
}
-asmlinkage long sys_mlockall(int flags)
+SYSCALL_DEFINE1(mlockall, int, flags)
{
unsigned long lock_limit;
int ret = -EINVAL;
@@ -623,7 +623,7 @@ out:
return ret;
}
-asmlinkage long sys_munlockall(void)
+SYSCALL_DEFINE0(munlockall)
{
int ret;