Skip to content

Commit

Permalink
[PATCH] make ipc/shm.c:shm_nopage() static
Browse files Browse the repository at this point in the history
shm_nopage() can become static.

Signed-off-by: Adrian Bunk <[email protected]>
Acked-by: Eric W. Biederman <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
AdrianBunk authored and Linus Torvalds committed Mar 1, 2007
1 parent 5357fc1 commit de01bad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ipc/shm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit de01bad

Please sign in to comment.