summaryrefslogtreecommitdiffstats
path: root/arch/sh/mm
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-12-29 08:53:51 +0100
committerDan Williams <dan.j.williams@intel.com>2018-01-08 20:46:23 +0100
commit4dfeeaad630f6261f30314faab46cc2f512450d3 (patch)
treeb4a2f2fdd1e7eddf6e85717cd088606e5f3d091c /arch/sh/mm
parentmemremap: provide stubs for vmem_altmap_offset and vmem_altmap_free (diff)
downloadlinux-4dfeeaad630f6261f30314faab46cc2f512450d3.tar.xz
linux-4dfeeaad630f6261f30314faab46cc2f512450d3.zip
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/mm')
-rw-r--r--arch/sh/mm/init.c1
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)