projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4dfeeaa
)
mm: don't export __add_pages
author
Christoph Hellwig
<
[email protected]
>
Fri, 29 Dec 2017 07:53:52 +0000
(08:53 +0100)
committer
Dan Williams
<
[email protected]
>
Mon, 8 Jan 2018 19:46:23 +0000
(11:46 -0800)
This function isn't used by any modules, and is only to be called
from core MM code. This includes the calls for the add_pages wrapper
that might be inlined.
Signed-off-by: Christoph Hellwig <
[email protected]
>
Signed-off-by: Dan Williams <
[email protected]
>
mm/memory_hotplug.c
patch
|
blob
|
history
diff --git
a/mm/memory_hotplug.c
b/mm/memory_hotplug.c
index c52aa05b106c76dd5b469bc66e0227348d7524e5..5c6f96e6b3341910342847d73dfe6bb3755b3ada 100644
(file)
--- a/
mm/memory_hotplug.c
+++ b/
mm/memory_hotplug.c
@@
-334,7
+334,6
@@
int __ref __add_pages(int nid, unsigned long phys_start_pfn,
out:
return err;
}
-EXPORT_SYMBOL_GPL(__add_pages);
#ifdef CONFIG_MEMORY_HOTREMOVE
/* find the smallest valid pfn in the range [start_pfn, end_pfn) */