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.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/mm.h b/include/linux/mm.h
index 6507dde38b16..1746f67c33de 100644
--- a/include/linux/mm.h
+++ b/include/linux/mm.h
@@ -862,13 +862,13 @@ extern void pagefault_out_of_memory(void);
862#define offset_in_page(p) ((unsigned long)(p) & ~PAGE_MASK) 862#define offset_in_page(p) ((unsigned long)(p) & ~PAGE_MASK)
863 863
864/* 864/*
865 * Flags passed to show_mem() and __show_free_areas() to suppress output in 865 * Flags passed to show_mem() and show_free_areas() to suppress output in
866 * various contexts. 866 * various contexts.
867 */ 867 */
868#define SHOW_MEM_FILTER_NODES (0x0001u) /* filter disallowed nodes */ 868#define SHOW_MEM_FILTER_NODES (0x0001u) /* filter disallowed nodes */
869 869
870extern void show_free_areas(void); 870extern void show_free_areas(unsigned int flags);
871extern void __show_free_areas(unsigned int flags); 871extern bool skip_free_areas_node(unsigned int flags, int nid);
872 872
873int shmem_lock(struct file *file, int lock, struct user_struct *user); 873int shmem_lock(struct file *file, int lock, struct user_struct *user);
874struct file *shmem_file_setup(const char *name, loff_t size, unsigned long flags); 874struct file *shmem_file_setup(const char *name, loff_t size, unsigned long flags);