diff options
Diffstat (limited to 'include/linux/mm.h')
| -rw-r--r-- | include/linux/mm.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/linux/mm.h b/include/linux/mm.h index c41a1299b8cf..75179529e399 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h | |||
| @@ -36,7 +36,6 @@ extern int sysctl_legacy_va_layout; | |||
| 36 | #include <asm/page.h> | 36 | #include <asm/page.h> |
| 37 | #include <asm/pgtable.h> | 37 | #include <asm/pgtable.h> |
| 38 | #include <asm/processor.h> | 38 | #include <asm/processor.h> |
| 39 | #include <asm/atomic.h> | ||
| 40 | 39 | ||
| 41 | #define nth_page(page,n) pfn_to_page(page_to_pfn((page)) + (n)) | 40 | #define nth_page(page,n) pfn_to_page(page_to_pfn((page)) + (n)) |
| 42 | 41 | ||
| @@ -515,6 +514,11 @@ static inline void set_page_links(struct page *page, unsigned long zone, | |||
| 515 | set_page_section(page, pfn_to_section_nr(pfn)); | 514 | set_page_section(page, pfn_to_section_nr(pfn)); |
| 516 | } | 515 | } |
| 517 | 516 | ||
| 517 | /* | ||
| 518 | * Some inline functions in vmstat.h depend on page_zone() | ||
| 519 | */ | ||
| 520 | #include <linux/vmstat.h> | ||
| 521 | |||
| 518 | #ifndef CONFIG_DISCONTIGMEM | 522 | #ifndef CONFIG_DISCONTIGMEM |
| 519 | /* The array of struct pages - for discontigmem use pgdat->lmem_map */ | 523 | /* The array of struct pages - for discontigmem use pgdat->lmem_map */ |
| 520 | extern struct page *mem_map; | 524 | extern struct page *mem_map; |
