Skip to content
Commit f3c4fbb6 authored by Dave Hansen's avatar Dave Hansen Committed by H. Peter Anvin
Browse files

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: default avatarDave Hansen <dave@linux.vnet.ibm.com>
Link: http://lkml.kernel.org/r/20130122212432.14F3D993@kernel.stglabs.ibm.com


Signed-off-by: default avatarH. Peter Anvin <hpa@linux.intel.com>
parent 4cbeb51b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment