commit | f3c4fbb68e93b10c781c0cc462a9d80770244da6 | [log] [tgz] |
---|---|---|
author | Dave Hansen <dave@linux.vnet.ibm.com> | Tue Jan 22 13:24:32 2013 -0800 |
committer | H. Peter Anvin <hpa@linux.intel.com> | Fri Jan 25 16:33:23 2013 -0800 |
tree | 6a56b1d5688f23361c3f305c2902053bdcd098ab | |
parent | 4cbeb51b860c57ba8b2ae50c4016ee7a41f5fbd5 [diff] |
x86, mm: Use new pagetable helpers in try_preserve_large_page() try_preserve_large_page() can be slightly simplified by using the new page_level_*() helpers. This also moves the 'level' over to the new pg_level enum type. Signed-off-by: Dave Hansen <dave@linux.vnet.ibm.com> Link: http://lkml.kernel.org/r/20130122212432.14F3D993@kernel.stglabs.ibm.com Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>