]> git.karo-electronics.de Git - karo-tx-linux.git/commit
x86, mm: Use new pagetable helpers in try_preserve_large_page()
authorDave Hansen <dave@linux.vnet.ibm.com>
Tue, 22 Jan 2013 21:24:32 +0000 (13:24 -0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Sat, 26 Jan 2013 00:33:23 +0000 (16:33 -0800)
commitf3c4fbb68e93b10c781c0cc462a9d80770244da6
tree6a56b1d5688f23361c3f305c2902053bdcd098ab
parent4cbeb51b860c57ba8b2ae50c4016ee7a41f5fbd5
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>
arch/x86/mm/pageattr.c