diff options
author | Christoph Hellwig <hch@lst.de> | 2017-12-29 08:53:51 +0100 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2018-01-08 11:46:23 -0800 |
commit | 4dfeeaad630f6261f30314faab46cc2f512450d3 (patch) | |
tree | b4a2f2fdd1e7eddf6e85717cd088606e5f3d091c /arch/sh | |
parent | 8e37d00a850160bbfadbb3bf4ce49539770c5d2c (diff) |
mm: don't export arch_add_memory
Only x86_64 and sh export this symbol, and it is not used by any
modular code.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'arch/sh')
-rw-r--r-- | arch/sh/mm/init.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/sh/mm/init.c b/arch/sh/mm/init.c index bf726af5f1a5..afc54d593a26 100644 --- a/arch/sh/mm/init.c +++ b/arch/sh/mm/init.c @@ -498,7 +498,6 @@ int arch_add_memory(int nid, u64 start, u64 size, bool want_memblock) return ret; } -EXPORT_SYMBOL_GPL(arch_add_memory); #ifdef CONFIG_NUMA int memory_add_physaddr_to_nid(u64 addr) |