From: Andrew Morton Cc: Christoph Lameter Cc: Dave Hansen Cc: Andy Whitcroft Signed-off-by: Andrew Morton --- mm/sparse.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN mm/sparse.c~get-rid-of-zone_table-fix mm/sparse.c --- a/mm/sparse.c~get-rid-of-zone_table-fix +++ a/mm/sparse.c @@ -36,7 +36,7 @@ static u8 section_to_node_table[NR_MEM_S static u16 section_to_node_table[NR_MEM_SECTIONS] __cacheline_aligned; #endif -extern unsigned long page_to_nid(struct page *page) +unsigned long page_to_nid(struct page *page) { return section_to_node_table[page_to_section(page)]; } _