]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - arch/x86/mm/mm_internal.h
x86: Enable PAT to use cache mode translation tables
[mirror_ubuntu-bionic-kernel.git] / arch / x86 / mm / mm_internal.h
CommitLineData
5c51bdbe
YL
1#ifndef __X86_MM_INTERNAL_H
2#define __X86_MM_INTERNAL_H
3
22c8ca2a
YL
4void *alloc_low_pages(unsigned int num);
5static inline void *alloc_low_page(void)
6{
7 return alloc_low_pages(1);
8}
5c51bdbe 9
c8dcdb9c
YL
10void early_ioremap_page_table_range_init(void);
11
12unsigned long kernel_physical_mapping_init(unsigned long start,
13 unsigned long end,
14 unsigned long page_size_mask);
15void zone_sizes_init(void);
16
60a8f428
YL
17extern int after_bootmem;
18
bd809af1
JG
19void update_cache_mode_entry(unsigned entry, enum page_cache_mode cache);
20
5c51bdbe 21#endif /* __X86_MM_INTERNAL_H */