diff options
Diffstat (limited to 'include/linux/mm.h')
-rw-r--r-- | include/linux/mm.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/include/linux/mm.h b/include/linux/mm.h index 5409eced7aae..5946e2ff9fe8 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h | |||
@@ -702,17 +702,8 @@ extern void pagefault_out_of_memory(void); | |||
702 | 702 | ||
703 | extern void show_free_areas(void); | 703 | extern void show_free_areas(void); |
704 | 704 | ||
705 | #ifdef CONFIG_SHMEM | 705 | int shmem_lock(struct file *file, int lock, struct user_struct *user); |
706 | extern int shmem_lock(struct file *file, int lock, struct user_struct *user); | ||
707 | #else | ||
708 | static inline int shmem_lock(struct file *file, int lock, | ||
709 | struct user_struct *user) | ||
710 | { | ||
711 | return 0; | ||
712 | } | ||
713 | #endif | ||
714 | struct file *shmem_file_setup(const char *name, loff_t size, unsigned long flags); | 706 | struct file *shmem_file_setup(const char *name, loff_t size, unsigned long flags); |
715 | |||
716 | int shmem_zero_setup(struct vm_area_struct *); | 707 | int shmem_zero_setup(struct vm_area_struct *); |
717 | 708 | ||
718 | #ifndef CONFIG_MMU | 709 | #ifndef CONFIG_MMU |