add pte_get_attr()

This commit is contained in:
NAKAMURA Gou
2016-03-28 14:28:27 +09:00
parent a2c29e8abf
commit c760a01a79
2 changed files with 32 additions and 7 deletions

View File

@@ -223,7 +223,7 @@ static struct page_table *__alloc_new_pt(enum ihk_mc_ap_flag ap_flag)
* but L2 and L1 do not!
*/
static enum ihk_mc_pt_attribute attr_mask
enum ihk_mc_pt_attribute attr_mask
= 0
| PTATTR_FILEOFF
| PTATTR_WRITABLE