diff --git a/xen/include/asm-ia64/grant_table.h b/xen/include/asm-ia64/grant_table.h index 763361e23a..5bf3f68bd0 100644 --- a/xen/include/asm-ia64/grant_table.h +++ b/xen/include/asm-ia64/grant_table.h @@ -16,7 +16,7 @@ #define gnttab_shared_mfn(d, t, i) \ ( ((d) == dom0) ? \ - ((virt_to_phys((t)shared) >> PAGE_SHIFT) + (i)) : \ + ((virt_to_phys((t)->shared) >> PAGE_SHIFT) + (i)) : \ (map_domain_page((d), 1UL<<40, virt_to_phys((t)->shared)), \ 1UL << (40 - PAGE_SHIFT)) \ ) diff --git a/xen/include/asm-ia64/mm.h b/xen/include/asm-ia64/mm.h index 899f37b690..8ab80ab5dc 100644 --- a/xen/include/asm-ia64/mm.h +++ b/xen/include/asm-ia64/mm.h @@ -82,7 +82,7 @@ struct page #define PGT_l2_page_table (2<<29) /* using this page as an L2 page table? */ #define PGT_l3_page_table (3<<29) /* using this page as an L3 page table? */ #define PGT_l4_page_table (4<<29) /* using this page as an L4 page table? */ -#define PGT_writeable_page (5<<29) /* has writable mappings of this page? */ +#define PGT_writable_page (5<<29) /* has writable mappings of this page? */ #define PGT_type_mask (5<<29) /* Bits 29-31. */ /* Has this page been validated for use as its current type? */