diff options
Diffstat (limited to 'mm/sparse.c')
-rw-r--r-- | mm/sparse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/sparse.c b/mm/sparse.c index 158d6a2a5263..ac26eb0d73cd 100644 --- a/mm/sparse.c +++ b/mm/sparse.c | |||
@@ -36,7 +36,7 @@ static u8 section_to_node_table[NR_MEM_SECTIONS] __cacheline_aligned; | |||
36 | static u16 section_to_node_table[NR_MEM_SECTIONS] __cacheline_aligned; | 36 | static u16 section_to_node_table[NR_MEM_SECTIONS] __cacheline_aligned; |
37 | #endif | 37 | #endif |
38 | 38 | ||
39 | unsigned long page_to_nid(struct page *page) | 39 | int page_to_nid(struct page *page) |
40 | { | 40 | { |
41 | return section_to_node_table[page_to_section(page)]; | 41 | return section_to_node_table[page_to_section(page)]; |
42 | } | 42 | } |