blob: 71aaae449fdbf9f4a33c8492730c14de7876ff2a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
/*
* linux/mm/mlock.c
*
* Copyright (c) 2001 Lineo, Inc. David McCullough <davidm@lineo.com>
* Copyright (c) 2000-2001 D Jeff Dionne <jeff@uClinux.org> ref uClinux 2.0
* (C) Copyright 1995 Linus Torvalds
*/
#include <linux/slab.h>
#include <linux/shm.h>
#include <linux/mman.h>
#include <linux/smp_lock.h>
#include <linux/pagemap.h>
#include <asm/uaccess.h>
#include <asm/pgtable.h>
asmlinkage long sys_mlock(unsigned long start, size_t len)
{
return -ENOSYS;
}
asmlinkage long sys_munlock(unsigned long start, size_t len)
{
return -ENOSYS;
}
asmlinkage long sys_mlockall(int flags)
{
return -ENOSYS;
}
asmlinkage long sys_munlockall(void)
{
return -ENOSYS;
}
|