Go to the documentation of this file.
15 #ifndef _ASM_PGALLOC_H
16 #define _ASM_PGALLOC_H
18 #include <asm/setup.h>
19 #include <asm/virtconvert.h>
23 #define pmd_populate_kernel(mm, pmd, pte) __set_pmd(pmd, __pa(pte) | _PAGE_TABLE)
24 #define pmd_populate(MM, PMD, PAGE) \
26 __set_pmd((PMD), page_to_pfn(PAGE) << PAGE_SHIFT | _PAGE_TABLE); \
28 #define pmd_pgtable(pmd) pmd_page(pmd)
48 pgtable_page_dtor(pte);
52 #define __pte_free_tlb(tlb,pte,address) \
54 pgtable_page_dtor(pte); \
55 tlb_remove_page((tlb),(pte)); \
63 #define pmd_alloc_one(mm, addr) ({ BUG(); ((pmd_t *) 2); })
64 #define pmd_free(mm, x) do { } while (0)
65 #define __pmd_free_tlb(tlb,x,a) do { } while (0)