mbox series

[0/2] Cleanup ARM arches to use common memblocks_present

Message ID 20190109202100.6968-1-logang@deltatee.com (mailing list archive)
Headers show
Series Cleanup ARM arches to use common memblocks_present | expand

Message

Logan Gunthorpe Jan. 9, 2019, 8:20 p.m. UTC
Hey,

We've recently added a new memblocks_present() helper macro to clean
up some common code with ARM and code we are adding in RISC-V. The
commit that added the helper is:

9def36e0fa9a ("mm/sparse: add common helper to mark all memblocks present")

This series includes two patches to switch ARM and ARM64 to use the
new function.

Thanks,

Logan

--

Logan Gunthorpe (2):
  ARM: mm: make use of new memblocks_present() helper
  arm64: mm: make use of new memblocks_present() helper

 arch/arm/mm/init.c   | 17 +----------------
 arch/arm64/mm/init.c | 20 +-------------------
 2 files changed, 2 insertions(+), 35 deletions(-)

--
2.19.0