Commit | Line | Data |
---|---|---|
5c51bdbe YL |
1 | #ifndef __X86_MM_INTERNAL_H |
2 | #define __X86_MM_INTERNAL_H | |
3 | ||
22c8ca2a YL |
4 | void *alloc_low_pages(unsigned int num); |
5 | static inline void *alloc_low_page(void) | |
6 | { | |
7 | return alloc_low_pages(1); | |
8 | } | |
5c51bdbe | 9 | |
c8dcdb9c YL |
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 | ||
60a8f428 YL |
17 | extern int after_bootmem; |
18 | ||
bd809af1 JG |
19 | void update_cache_mode_entry(unsigned entry, enum page_cache_mode cache); |
20 | ||
5c51bdbe | 21 | #endif /* __X86_MM_INTERNAL_H */ |