aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mm.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/mm.h')
-rw-r--r--include/linux/mm.h4
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)
700extern void show_free_areas(void); 700extern void show_free_areas(void);
701 701
702#ifdef CONFIG_SHMEM 702#ifdef CONFIG_SHMEM
703int shmem_lock(struct file *file, int lock, struct user_struct *user); 703extern int shmem_lock(struct file *file, int lock, struct user_struct *user);
704#else 704#else
705static inline int shmem_lock(struct file *file, int lock, 705static 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}