Yinghai Lu | 5c51bdb | 2012-11-16 19:39:01 -0800 | [diff] [blame] | 1 | #ifndef __X86_MM_INTERNAL_H |
| 2 | #define __X86_MM_INTERNAL_H |
| 3 | |
Yinghai Lu | 22c8ca2 | 2012-11-16 19:39:04 -0800 | [diff] [blame] | 4 | void *alloc_low_pages(unsigned int num); |
| 5 | static inline void *alloc_low_page(void) |
| 6 | { |
| 7 | return alloc_low_pages(1); |
| 8 | } |
Yinghai Lu | 5c51bdb | 2012-11-16 19:39:01 -0800 | [diff] [blame] | 9 | |
Yinghai Lu | c8dcdb9 | 2012-11-16 19:39:10 -0800 | [diff] [blame] | 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 | |
Yinghai Lu | 60a8f42 | 2012-11-16 19:39:17 -0800 | [diff] [blame] | 17 | extern int after_bootmem; |
| 18 | |
Yinghai Lu | 5c51bdb | 2012-11-16 19:39:01 -0800 | [diff] [blame] | 19 | #endif /* __X86_MM_INTERNAL_H */ |