diff options
Diffstat (limited to 'include/linux/mm.h')
-rw-r--r-- | include/linux/mm.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/linux/mm.h b/include/linux/mm.h index 689184446fc6..2128ef7780c6 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h | |||
@@ -999,8 +999,8 @@ extern void free_area_init_node(int nid, pg_data_t *pgdat, | |||
999 | extern void free_area_init_nodes(unsigned long *max_zone_pfn); | 999 | extern void free_area_init_nodes(unsigned long *max_zone_pfn); |
1000 | extern void add_active_range(unsigned int nid, unsigned long start_pfn, | 1000 | extern void add_active_range(unsigned int nid, unsigned long start_pfn, |
1001 | unsigned long end_pfn); | 1001 | unsigned long end_pfn); |
1002 | extern void shrink_active_range(unsigned int nid, unsigned long old_end_pfn, | 1002 | extern void remove_active_range(unsigned int nid, unsigned long start_pfn, |
1003 | unsigned long new_end_pfn); | 1003 | unsigned long end_pfn); |
1004 | extern void push_node_boundaries(unsigned int nid, unsigned long start_pfn, | 1004 | extern void push_node_boundaries(unsigned int nid, unsigned long start_pfn, |
1005 | unsigned long end_pfn); | 1005 | unsigned long end_pfn); |
1006 | extern void remove_all_active_ranges(void); | 1006 | extern void remove_all_active_ranges(void); |
@@ -1012,6 +1012,8 @@ extern unsigned long find_min_pfn_with_active_regions(void); | |||
1012 | extern unsigned long find_max_pfn_with_active_regions(void); | 1012 | extern unsigned long find_max_pfn_with_active_regions(void); |
1013 | extern void free_bootmem_with_active_regions(int nid, | 1013 | extern void free_bootmem_with_active_regions(int nid, |
1014 | unsigned long max_low_pfn); | 1014 | unsigned long max_low_pfn); |
1015 | typedef int (*work_fn_t)(unsigned long, unsigned long, void *); | ||
1016 | extern void work_with_active_regions(int nid, work_fn_t work_fn, void *data); | ||
1015 | extern void sparse_memory_present_with_active_regions(int nid); | 1017 | extern void sparse_memory_present_with_active_regions(int nid); |
1016 | #ifndef CONFIG_HAVE_ARCH_EARLY_PFN_TO_NID | 1018 | #ifndef CONFIG_HAVE_ARCH_EARLY_PFN_TO_NID |
1017 | extern int early_pfn_to_nid(unsigned long pfn); | 1019 | extern int early_pfn_to_nid(unsigned long pfn); |
@@ -1025,6 +1027,7 @@ extern void mem_init(void); | |||
1025 | extern void show_mem(void); | 1027 | extern void show_mem(void); |
1026 | extern void si_meminfo(struct sysinfo * val); | 1028 | extern void si_meminfo(struct sysinfo * val); |
1027 | extern void si_meminfo_node(struct sysinfo *val, int nid); | 1029 | extern void si_meminfo_node(struct sysinfo *val, int nid); |
1030 | extern int after_bootmem; | ||
1028 | 1031 | ||
1029 | #ifdef CONFIG_NUMA | 1032 | #ifdef CONFIG_NUMA |
1030 | extern void setup_per_cpu_pageset(void); | 1033 | extern void setup_per_cpu_pageset(void); |