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
committerGreg Kroah-Hartman <gregkh@suse.de>2009-01-18 10:43:56 -0800
commiteb728e5bd36c757f3086ef17bd2d62c5d46d3dc4 (patch)
tree68b9730caf3088c6952c4146a877e3420bdba33d /mm/mlock.c
parent0bba72e5cf1d17a28052ecfd3c49e815b573560a (diff)
System call wrappers part 14
commit 3480b25743cb7404928d57efeaa3d085708b04c2 upstream. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
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 a65d533546dc..d35fe8910806 100644
--- a/mm/mlock.c
+++ b/mm/mlock.c
@@ -594,7 +594,7 @@ out:
return 0;
}
-asmlinkage long sys_mlockall(int flags)
+SYSCALL_DEFINE1(mlockall, int, flags)
{
unsigned long lock_limit;
int ret = -EINVAL;
@@ -622,7 +622,7 @@ out:
return ret;
}
-asmlinkage long sys_munlockall(void)
+SYSCALL_DEFINE0(munlockall)
{
int ret;