mm: introduce mm_[p4d|pud|pmd]_folded
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 15 Oct 2018 08:25:57 +0000 (10:25 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 May 2019 17:42:28 +0000 (19:42 +0200)
commit90b8693b9e40a88525bce5cc819f5dafe1bf9c54
treee70283d4d2ed76c2cc89364628d8c6e0a534f855
parentb66f198bf30853d7efd2e4fc34cefd9ab8f09a38
mm: introduce mm_[p4d|pud|pmd]_folded

[ Upstream commit 1071fc5779d9846fec56a4ff6089ab08cac1ab72 ]

Add three architecture overrideable functions to test if the
p4d, pud, or pmd layer of a page table is folded or not.

Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
include/asm-generic/pgtable.h