From: Adrian Bunk Date: Thu, 1 Mar 2007 04:11:01 +0000 (-0800) Subject: [PATCH] make ipc/shm.c:shm_nopage() static X-Git-Tag: v2.6.21-rc3~197 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=de01bad2f5dec2977143aa242e7eba71d11a4363;p=linux-2.6-omap-h63xx.git [PATCH] make ipc/shm.c:shm_nopage() static shm_nopage() can become static. Signed-off-by: Adrian Bunk Acked-by: Eric W. Biederman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/ipc/shm.c b/ipc/shm.c index eb57e225430..3d0eb7940e9 100644 --- a/ipc/shm.c +++ b/ipc/shm.c @@ -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);