From: Adrian Bunk Date: Thu, 1 Mar 2007 04:11:01 +0000 (-0800) Subject: [PATCH] make ipc/shm.c:shm_nopage() static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=de01bad2f5dec2977143aa242e7eba71d11a4363;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.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 eb57e2254304..3d0eb7940e9c 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);