x86/mm/pageattr: Add a PGD pagetable populating function
authorBorislav Petkov <bp@suse.de>
Thu, 31 Oct 2013 16:25:01 +0000 (17:25 +0100)
committerMatt Fleming <matt.fleming@intel.com>
Sat, 2 Nov 2013 11:09:12 +0000 (11:09 +0000)
commitf3f729661e8db476ac427a97de015307aebb7404
treecaa0fd5caa67d58ff64be68698dc64295d8174a1
parent0fd64c23fdf556e9e68580cff03b3505797bbf53
x86/mm/pageattr: Add a PGD pagetable populating function

This allocates, if necessary, and populates the corresponding PGD entry
with a PUD page. The next population level is a dummy macro which will
be removed by the next patch and it is added here to keep the patch
small and easily reviewable but not break bisection, at the same time.

Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
arch/x86/mm/pageattr.c