kaiser: tidied up kaiser_add/remove_mapping slightly
authorHugh Dickins <hughd@google.com>
Mon, 4 Sep 2017 02:23:08 +0000 (19:23 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 5 Jan 2018 14:46:33 +0000 (15:46 +0100)
commitbe6bf01f4caa523433030a2267df57d6afefa53d
tree9f4c510cd0a1326f16d8f9755c31afad8eb1ed20
parent67fab0d4acb3556134127ac285b625f715b12ca1
kaiser: tidied up kaiser_add/remove_mapping slightly

Yes, unmap_pud_range_nofree()'s declaration ought to be in a
header file really, but I'm not sure we want to use it anyway:
so for now just declare it inside kaiser_remove_mapping().
And there doesn't seem to be such a thing as unmap_p4d_range(),
even in a 5-level paging tree.

Signed-off-by: Hugh Dickins <hughd@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/mm/kaiser.c