]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - mm/sparse.c
[PATCH] VFS: extra check inside dentry_unhash()
[linux-2.6-omap-h63xx.git] / mm / sparse.c
index 158d6a2a52635e5023175f121b81ce673be332e9..ac26eb0d73cddeaf53b20fb7a7d31f954b8bc117 100644 (file)
@@ -36,7 +36,7 @@ static u8 section_to_node_table[NR_MEM_SECTIONS] __cacheline_aligned;
 static u16 section_to_node_table[NR_MEM_SECTIONS] __cacheline_aligned;
 #endif
 
-unsigned long page_to_nid(struct page *page)
+int page_to_nid(struct page *page)
 {
        return section_to_node_table[page_to_section(page)];
 }