projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mm: clean up for early_pfn_to_nid()
[platform/adaptation/renesas_rcar/renesas_kernel.git]
/
arch
/
x86
/
mm
/
numa_64.c
diff --git
a/arch/x86/mm/numa_64.c
b/arch/x86/mm/numa_64.c
index
71a14f8
..
f3516da
100644
(file)
--- a/
arch/x86/mm/numa_64.c
+++ b/
arch/x86/mm/numa_64.c
@@
-145,7
+145,7
@@
int __init compute_hash_shift(struct bootnode *nodes, int numnodes,
return shift;
}
-int early_pfn_to_nid(unsigned long pfn)
+int
__meminit __
early_pfn_to_nid(unsigned long pfn)
{
return phys_to_nid(pfn << PAGE_SHIFT);
}