Commit de01bad2 authored by Adrian Bunk's avatar Adrian Bunk Committed by Linus Torvalds

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

shm_nopage() can become static.
Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
Acked-by: default avatarEric W. Biederman <ebiederm@xmission.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 5357fc14
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment