summaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2007-02-28 20:11:01 -0800
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-03-01 14:53:35 -0800
commitde01bad2f5dec2977143aa242e7eba71d11a4363 (patch)
treec03b32b7d19ecf6fba2d10a86830fa74c6a2655f /ipc
parent5357fc1450bda771a4a57b82f83c14ca9f5b9221 (diff)
[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>
Diffstat (limited to 'ipc')
-rw-r--r--ipc/shm.c4
1 files changed, 2 insertions, 2 deletions
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);