Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4dfeeaad authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Dan Williams
Browse files

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: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
parent 8e37d00a
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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)
+0 −1
Original line number Diff line number Diff line
@@ -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