21 #ifndef _ASM_PGALLOC_H
22 #define _ASM_PGALLOC_H
24 #include <asm/mem-layout.h>
25 #include <asm/atomic.h>
27 #define check_pgt_cache() do {} while (0)
70 pgtable_page_ctor(pte);
77 unsigned long address)
85 pgtable_page_dtor(pte);
102 HEXAGON_L1_PTE_SIZE));
121 spin_lock(&kmap_gen_lock);
125 spin_unlock(&kmap_gen_lock);
140 #define __pte_free_tlb(tlb, pte, addr) \
142 pgtable_page_dtor((pte)); \
143 tlb_remove_page((tlb), (pte)); \