diff options
Diffstat (limited to 'include/linux/mm.h')
-rw-r--r-- | include/linux/mm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/mm.h b/include/linux/mm.h index c61ba10768ea..40236290e2ae 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h | |||
@@ -700,10 +700,10 @@ static inline int page_mapped(struct page *page) | |||
700 | extern void show_free_areas(void); | 700 | extern void show_free_areas(void); |
701 | 701 | ||
702 | #ifdef CONFIG_SHMEM | 702 | #ifdef CONFIG_SHMEM |
703 | int shmem_lock(struct file *file, int lock, struct user_struct *user); | 703 | extern int shmem_lock(struct file *file, int lock, struct user_struct *user); |
704 | #else | 704 | #else |
705 | static inline int shmem_lock(struct file *file, int lock, | 705 | static inline int shmem_lock(struct file *file, int lock, |
706 | struct user_struct *user) | 706 | struct user_struct *user) |
707 | { | 707 | { |
708 | return 0; | 708 | return 0; |
709 | } | 709 | } |