aboutsummaryrefslogtreecommitdiff
path: root/include/asm-x86/mmzone_64.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86/mmzone_64.h')
-rw-r--r--include/asm-x86/mmzone_64.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-x86/mmzone_64.h b/include/asm-x86/mmzone_64.h
index 19a89377b12..1e0ed34a6ad 100644
--- a/include/asm-x86/mmzone_64.h
+++ b/include/asm-x86/mmzone_64.h
@@ -41,6 +41,8 @@ static inline __attribute__((pure)) int phys_to_nid(unsigned long addr)
#define node_end_pfn(nid) (NODE_DATA(nid)->node_start_pfn + \
NODE_DATA(nid)->node_spanned_pages)
+extern int early_pfn_to_nid(unsigned long pfn);
+
#ifdef CONFIG_DISCONTIGMEM
#define pfn_to_nid(pfn) phys_to_nid((unsigned long)(pfn) << PAGE_SHIFT)