[PATCH] make ipc/shm.c:shm_nopage() static

shm_nopage() can become static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Adrian Bunk 2007-02-28 20:11:01 -08:00 коммит произвёл Linus Torvalds
Родитель 5357fc1450
Коммит de01bad2f5
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -226,8 +226,8 @@ static void shm_close(struct vm_area_struct *vma)
mutex_unlock(&shm_ids(ns).mutex);
}
struct page *shm_nopage(struct vm_area_struct *vma, unsigned long address,
int *type)
static struct page *shm_nopage(struct vm_area_struct *vma,
unsigned long address, int *type)
{
struct file *file = vma->vm_file;
struct shm_file_data *sfd = shm_file_data(file);