x86/mm/pageattr: Add a PUD error unwinding path
authorBorislav Petkov <bp@suse.de>
Thu, 31 Oct 2013 16:25:05 +0000 (17:25 +0100)
committerMatt Fleming <matt.fleming@intel.com>
Sat, 2 Nov 2013 11:09:28 +0000 (11:09 +0000)
commit0bb8aeee7b73b21e09d3ea12f2120d974f70b669
treee25ffc5c37466f056d7818e0f73caed0ec32c9d3
parentc6b6f363f7b24aa448994e3a65c4d5b3116acfcc
x86/mm/pageattr: Add a PUD error unwinding path

In case we encounter an error during the mapping of a region, we want to
unwind what we've established so far exactly the way we did the mapping.
This is the PUD part kept deliberately small for easier review.

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