Index: linux-2.6.18-mm3/arch/ia64/mm/init.c =================================================================== --- linux-2.6.18-mm3.orig/arch/ia64/mm/init.c 2006-10-07 00:49:21.936944447 -0700 +++ linux-2.6.18-mm3/arch/ia64/mm/init.c 2006-10-07 01:26:53.573547854 -0700 @@ -508,9 +508,12 @@ create_mem_map_page_table (u64 start, u6 VMEM_MAP_PAGE_SIZE, VMEM_MAP_PAGE_SIZE, __pa(MAX_DMA_ADDRESS))); - set_pte(pte, pfn_pte(addr >> PAGE_SHIFT, PAGE_KERNEL)); + set_pte(pte, pte_mkyoung(mk_pte_phys(addr, PAGE_KERNEL))); #ifdef CONFIG_HUGETLB_PAGE printk(KERN_CRIT "Huge virtual mmap range %lx-%lx page @%lx:%lx pte=%lx size=%lu node=%d\n", start, end, address, addr, pte_val(*pte), VMEM_MAP_PAGE_SIZE, node); + /* Check the mapping out */ + *(int *)(address) = 12; + printk(KERN_CRIT "Value = %d\n", *(int *)address); #endif } #ifdef CONFIG_HUGETLB_PAGE