diff options
author | Adrian Bunk <bunk@stusta.de> | 2007-10-16 12:26:26 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-16 20:43:03 +0400 |
commit | d8dc74f212c38407fc9f4367181f8f969b719485 (patch) | |
tree | 2ff1ec0aaee1e6b3ee29d258a7158deb4b43688c /include/linux/mm.h | |
parent | af767cbdd78f293485c294113885d95e7f1da123 (diff) | |
download | linux-d8dc74f212c38407fc9f4367181f8f969b719485.tar.xz |
mm/shmem.c: make 3 functions static
This patch makes three needlessly global functions static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Cc: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/mm.h')
-rw-r--r-- | include/linux/mm.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/include/linux/mm.h b/include/linux/mm.h index cc551f06728b..7e87e1b1662e 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h @@ -648,9 +648,6 @@ static inline int page_mapped(struct page *page) extern void show_free_areas(void); #ifdef CONFIG_SHMEM -int shmem_set_policy(struct vm_area_struct *vma, struct mempolicy *new); -struct mempolicy *shmem_get_policy(struct vm_area_struct *vma, - unsigned long addr); int shmem_lock(struct file *file, int lock, struct user_struct *user); #else static inline int shmem_lock(struct file *file, int lock, @@ -658,18 +655,6 @@ static inline int shmem_lock(struct file *file, int lock, { return 0; } - -static inline int shmem_set_policy(struct vm_area_struct *vma, - struct mempolicy *new) -{ - return 0; -} - -static inline struct mempolicy *shmem_get_policy(struct vm_area_struct *vma, - unsigned long addr) -{ - return NULL; -} #endif struct file *shmem_file_setup(char *name, loff_t size, unsigned long flags); |