diff options
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) | |||
648 | extern void show_free_areas(void); | 648 | extern void show_free_areas(void); |
649 | 649 | ||
650 | #ifdef CONFIG_SHMEM | 650 | #ifdef CONFIG_SHMEM |
651 | int shmem_set_policy(struct vm_area_struct *vma, struct mempolicy *new); | ||
652 | struct mempolicy *shmem_get_policy(struct vm_area_struct *vma, | ||
653 | unsigned long addr); | ||
654 | int shmem_lock(struct file *file, int lock, struct user_struct *user); | 651 | int shmem_lock(struct file *file, int lock, struct user_struct *user); |
655 | #else | 652 | #else |
656 | static inline int shmem_lock(struct file *file, int lock, | 653 | static inline int shmem_lock(struct file *file, int lock, |
@@ -658,18 +655,6 @@ static inline int shmem_lock(struct file *file, int lock, | |||
658 | { | 655 | { |
659 | return 0; | 656 | return 0; |
660 | } | 657 | } |
661 | |||
662 | static inline int shmem_set_policy(struct vm_area_struct *vma, | ||
663 | struct mempolicy *new) | ||
664 | { | ||
665 | return 0; | ||
666 | } | ||
667 | |||
668 | static inline struct mempolicy *shmem_get_policy(struct vm_area_struct *vma, | ||
669 | unsigned long addr) | ||
670 | { | ||
671 | return NULL; | ||
672 | } | ||
673 | #endif | 658 | #endif |
674 | struct file *shmem_file_setup(char *name, loff_t size, unsigned long flags); | 659 | struct file *shmem_file_setup(char *name, loff_t size, unsigned long flags); |
675 | 660 | ||