summaryrefslogtreecommitdiffstats
path: root/arch/x86/mm/init_64.c
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 11:46:23 -0800
commit4dfeeaad630f6261f30314faab46cc2f512450d3 (patch)
treeb4a2f2fdd1e7eddf6e85717cd088606e5f3d091c /arch/x86/mm/init_64.c
parent8e37d00a850160bbfadbb3bf4ce49539770c5d2c (diff)
downloadtalos-obmc-linux-4dfeeaad630f6261f30314faab46cc2f512450d3.tar.gz
talos-obmc-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/x86/mm/init_64.c')
-rw-r--r--arch/x86/mm/init_64.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c
index 4a837289f2ad..8acdc35c2dfa 100644
--- a/arch/x86/mm/init_64.c
+++ b/arch/x86/mm/init_64.c
@@ -796,7 +796,6 @@ int arch_add_memory(int nid, u64 start, u64 size, bool want_memblock)
return add_pages(nid, start_pfn, nr_pages, want_memblock);
}
-EXPORT_SYMBOL_GPL(arch_add_memory);
#define PAGE_INUSE 0xFD
OpenPOWER on IntegriCloud