]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - mm/sparse.c
Merge branch 'next/soc' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/linux...
[karo-tx-linux.git] / mm / sparse.c
index aa64b12831a24b8c831878b1ea8b66c2553a619e..858e1dff9b2af89b0c98203cd3e9099d8feffbbd 100644 (file)
@@ -40,7 +40,7 @@ static u8 section_to_node_table[NR_MEM_SECTIONS] __cacheline_aligned;
 static u16 section_to_node_table[NR_MEM_SECTIONS] __cacheline_aligned;
 #endif
 
-int page_to_nid(struct page *page)
+int page_to_nid(const struct page *page)
 {
        return section_to_node_table[page_to_section(page)];
 }