use 'enum ihk_mc_pt_attribute' instead of 'int'

This commit is contained in:
NAKAMURA Gou
2014-04-08 17:36:03 +09:00
parent 55817e9e83
commit f60b37ea1b
2 changed files with 5 additions and 5 deletions

View File

@@ -142,8 +142,8 @@ static inline uintptr_t pte_get_phys(pte_t *ptep)
}
struct page_table;
void set_pte(pte_t *ppte, unsigned long phys, int attr);
pte_t *get_pte(struct page_table *pt, void *virt, int attr);
void set_pte(pte_t *ppte, unsigned long phys, enum ihk_mc_pt_attribute attr);
pte_t *get_pte(struct page_table *pt, void *virt, enum ihk_mc_pt_attribute attr);
void *early_alloc_page(void);
void *get_last_early_heap(void);