diff options
Diffstat (limited to 'include/linux/mm.h')
-rw-r--r-- | include/linux/mm.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/mm.h b/include/linux/mm.h index d662af2d0d01..2e872f92dbac 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h | |||
@@ -1726,7 +1726,8 @@ extern void sparse_memory_present_with_active_regions(int nid); | |||
1726 | 1726 | ||
1727 | #if !defined(CONFIG_HAVE_MEMBLOCK_NODE_MAP) && \ | 1727 | #if !defined(CONFIG_HAVE_MEMBLOCK_NODE_MAP) && \ |
1728 | !defined(CONFIG_HAVE_ARCH_EARLY_PFN_TO_NID) | 1728 | !defined(CONFIG_HAVE_ARCH_EARLY_PFN_TO_NID) |
1729 | static inline int __early_pfn_to_nid(unsigned long pfn) | 1729 | static inline int __early_pfn_to_nid(unsigned long pfn, |
1730 | struct mminit_pfnnid_cache *state) | ||
1730 | { | 1731 | { |
1731 | return 0; | 1732 | return 0; |
1732 | } | 1733 | } |
@@ -1734,7 +1735,8 @@ static inline int __early_pfn_to_nid(unsigned long pfn) | |||
1734 | /* please see mm/page_alloc.c */ | 1735 | /* please see mm/page_alloc.c */ |
1735 | extern int __meminit early_pfn_to_nid(unsigned long pfn); | 1736 | extern int __meminit early_pfn_to_nid(unsigned long pfn); |
1736 | /* there is a per-arch backend function. */ | 1737 | /* there is a per-arch backend function. */ |
1737 | extern int __meminit __early_pfn_to_nid(unsigned long pfn); | 1738 | extern int __meminit __early_pfn_to_nid(unsigned long pfn, |
1739 | struct mminit_pfnnid_cache *state); | ||
1738 | #endif | 1740 | #endif |
1739 | 1741 | ||
1740 | extern void set_dma_reserve(unsigned long new_dma_reserve); | 1742 | extern void set_dma_reserve(unsigned long new_dma_reserve); |