projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
x86, memblock: Move mem_hole_size() to .init
[deliverable/linux.git]
/
arch
/
x86
/
mm
/
numa_emulation.c
diff --git
a/arch/x86/mm/numa_emulation.c
b/arch/x86/mm/numa_emulation.c
index 46db56845f180bcc890195e52052daa686680518..2fff6518e302d2dd9286df1455c8c2e5a94b37a8 100644
(file)
--- a/
arch/x86/mm/numa_emulation.c
+++ b/
arch/x86/mm/numa_emulation.c
@@
-28,7
+28,7
@@
static int __init emu_find_memblk_by_nid(int nid, const struct numa_meminfo *mi)
return -ENOENT;
}
-static u64 mem_hole_size(u64 start, u64 end)
+static u64
__init
mem_hole_size(u64 start, u64 end)
{
unsigned long start_pfn = PFN_UP(start);
unsigned long end_pfn = PFN_DOWN(end);
This page took
0.025251 seconds
and
5
git commands to generate.