move vrflag_to_ptattr() to arch/x86/kernel/memory.c

refs #18
This commit is contained in:
NAKAMURA Gou
2014-05-07 20:28:07 +09:00
parent 8097b057da
commit 769cf79bf8
3 changed files with 19 additions and 10 deletions

View File

@ -1617,6 +1617,14 @@ out:
return error;
}
enum ihk_mc_pt_attribute arch_vrflag_to_ptattr(unsigned long flag)
{
enum ihk_mc_pt_attribute attr;
attr = common_vrflag_to_ptattr(flag);
return attr;
}
void load_page_table(struct page_table *pt)
{
unsigned long pt_addr;