hugetlb: introduce generic version of hugetlb_free_pgd_range
[linux/fpc-iii.git] / arch / x86 / mm / mm_internal.h
blob4e1f6e1b8159e7ddc78d46c8ebb6a4e8d05f4964
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __X86_MM_INTERNAL_H
3 #define __X86_MM_INTERNAL_H
5 void *alloc_low_pages(unsigned int num);
6 static inline void *alloc_low_page(void)
8 return alloc_low_pages(1);
11 void early_ioremap_page_table_range_init(void);
13 unsigned long kernel_physical_mapping_init(unsigned long start,
14 unsigned long end,
15 unsigned long page_size_mask);
16 void zone_sizes_init(void);
18 extern int after_bootmem;
20 void update_cache_mode_entry(unsigned entry, enum page_cache_mode cache);
22 #endif /* __X86_MM_INTERNAL_H */