memblock: add memblock_clear_nomap()
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Mon, 3 Apr 2017 02:23:54 +0000 (11:23 +0900)
committerAKASHI Takahiro <takahiro.akashi@linaro.org>
Mon, 19 Jun 2017 06:09:01 +0000 (15:09 +0900)
commitfc7b7e99170db9bc26921311429d7058d249781c
tree781cde7f3c23ea6b5b5d6276d4aba8c535aa5d76
parenta6bc75e1aadb965f0d1eed98c82d3e6f55507924
memblock: add memblock_clear_nomap()

This function, with a combination of memblock_mark_nomap(), will be used
in a later kdump patch for arm64 when it temporarily isolates some range
of memory from the other memory blocks in order to create a specific
kernel mapping at boot time.

Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
include/linux/memblock.h
mm/memblock.c