xref: /linux/arch/x86/mm/mm_internal.h (revision bb9707077b4ee5f77bc9939b057ff8a0d410296f)
1 #ifndef __X86_MM_INTERNAL_H
2 #define __X86_MM_INTERNAL_H
3 
4 void *alloc_low_pages(unsigned int num);
5 static inline void *alloc_low_page(void)
6 {
7 	return alloc_low_pages(1);
8 }
9 
10 void early_ioremap_page_table_range_init(void);
11 
12 unsigned long kernel_physical_mapping_init(unsigned long start,
13 					     unsigned long end,
14 					     unsigned long page_size_mask);
15 void zone_sizes_init(void);
16 
17 extern int after_bootmem;
18 
19 void update_cache_mode_entry(unsigned entry, enum page_cache_mode cache);
20 
21 #endif	/* __X86_MM_INTERNAL_H */
22