projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
firewire: Implement topology map and fix a couple of loopback bugs.
[powerpc.git]
/
mm
/
sparse.c
diff --git
a/mm/sparse.c
b/mm/sparse.c
index
158d6a2
..
ac26eb0
100644
(file)
--- a/
mm/sparse.c
+++ b/
mm/sparse.c
@@
-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)];
}