memblock: add memblock_clear_nomap()
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Mon, 3 Apr 2017 02:23:54 +0000 (11:23 +0900)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 5 Apr 2017 17:26:46 +0000 (18:26 +0100)
commit4c546b8a34690ca858e50f2017b8bb6e358365d1
tree538554955b542d534790f0aa96ff8c101baeb444
parentdffb0113d522a1410dbc136281caf7b6751ec6f4
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