16 #include <linux/module.h>
17 #include <linux/sysctl.h>
20 #include <asm/pgalloc.h>
22 #include <asm/tlbflush.h>
30 unsigned long taddr = htlbpage_to_page(addr);
41 pte = pte_alloc_map(mm,
NULL, pmd, taddr);
49 unsigned long taddr = htlbpage_to_page(addr);
73 #define mk_pte_huge(entry) { pte_val(entry) |= _PAGE_P; }
80 unsigned long addr,
unsigned long len)
124 unsigned long addr,
unsigned long end,
125 unsigned long floor,
unsigned long ceiling)
138 addr = htlbpage_to_page(addr);
139 end = htlbpage_to_page(end);
141 floor = htlbpage_to_page(floor);
143 ceiling = htlbpage_to_page(ceiling);
149 unsigned long pgoff,
unsigned long flags)
167 addr = HPAGE_REGION_BASE;
174 if (!vmm || (addr + len) <= vmm->
vm_start)
180 static int __init hugetlb_setup_sz(
char *
str)
183 unsigned long long size;
185 if (ia64_pal_vm_page_size(&tr_pages,
NULL) != 0)
189 tr_pages = 0x15557000
UL;