diff options
author | Adrian Bunk <bunk@stusta.de> | 2007-02-28 23:11:01 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-03-01 17:53:35 -0500 |
commit | de01bad2f5dec2977143aa242e7eba71d11a4363 (patch) | |
tree | c03b32b7d19ecf6fba2d10a86830fa74c6a2655f /ipc/shm.c | |
parent | 5357fc1450bda771a4a57b82f83c14ca9f5b9221 (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/shm.c')
-rw-r--r-- | ipc/shm.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -226,8 +226,8 @@ static void shm_close(struct vm_area_struct *vma) | |||
226 | mutex_unlock(&shm_ids(ns).mutex); | 226 | mutex_unlock(&shm_ids(ns).mutex); |
227 | } | 227 | } |
228 | 228 | ||
229 | struct page *shm_nopage(struct vm_area_struct *vma, unsigned long address, | 229 | static struct page *shm_nopage(struct vm_area_struct *vma, |
230 | int *type) | 230 | unsigned long address, int *type) |
231 | { | 231 | { |
232 | struct file *file = vma->vm_file; | 232 | struct file *file = vma->vm_file; |
233 | struct shm_file_data *sfd = shm_file_data(file); | 233 | struct shm_file_data *sfd = shm_file_data(file); |