patch-2.3.15 linux/mm/mlock.c
Next file: linux/mm/mmap.c
Previous file: linux/mm/memory.c
Back to the patch index
Back to the overall index
- Lines: 36
- Date:
Mon Aug 23 11:15:53 1999
- Orig file:
v2.3.14/linux/mm/mlock.c
- Orig date:
Thu Aug 12 12:22:36 1999
diff -u --recursive --new-file v2.3.14/linux/mm/mlock.c linux/mm/mlock.c
@@ -172,7 +172,7 @@
return error;
}
-asmlinkage int sys_mlock(unsigned long start, size_t len)
+asmlinkage long sys_mlock(unsigned long start, size_t len)
{
unsigned long locked;
unsigned long lock_limit;
@@ -203,7 +203,7 @@
return error;
}
-asmlinkage int sys_munlock(unsigned long start, size_t len)
+asmlinkage long sys_munlock(unsigned long start, size_t len)
{
int ret;
@@ -244,7 +244,7 @@
return error;
}
-asmlinkage int sys_mlockall(int flags)
+asmlinkage long sys_mlockall(int flags)
{
unsigned long lock_limit;
int ret = -EINVAL;
@@ -271,7 +271,7 @@
return ret;
}
-asmlinkage int sys_munlockall(void)
+asmlinkage long sys_munlockall(void)
{
int ret;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)