x86/mm/pageattr: Add a PTE pagetable populating function
authorBorislav Petkov <bp@suse.de>
Thu, 31 Oct 2013 16:25:04 +0000 (17:25 +0100)
committerMatt Fleming <matt.fleming@intel.com>
Sat, 2 Nov 2013 11:09:24 +0000 (11:09 +0000)
commitc6b6f363f7b24aa448994e3a65c4d5b3116acfcc
treed607339c3c28381166563bccfcf7098c8630902e
parentf900a4b8ab0f462d89a9fcb6173cac1403415b16
x86/mm/pageattr: Add a PTE pagetable populating function

Handle last level by unconditionally writing the PTEs into the PTE page
while paying attention to the NX bit.

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