Go to the documentation of this file. 1 #ifndef M68K_MCF_PGALLOC_H
2 #define M68K_MCF_PGALLOC_H
5 #include <asm/tlbflush.h>
31 #define pmd_alloc_one_fast(mm, address) ({ BUG(); ((pmd_t *)1); })
32 #define pmd_alloc_one(mm, address) ({ BUG(); ((pmd_t *)2); })
34 #define pte_alloc_one_fast(mm, addr) pte_alloc_one(mm, addr)
36 #define pmd_populate(mm, pmd, page) (pmd_val(*pmd) = \
37 (unsigned long)(page_address(page)))
39 #define pmd_populate_kernel(mm, pmd, pte) (pmd_val(*pmd) = (unsigned long)(pte))
41 #define pmd_pgtable(pmd) pmd_page(pmd)
49 #define __pmd_free_tlb(tlb, pmd, address) do { } while (0)
81 #define pmd_free(mm, pmd) BUG()
100 #define pgd_populate(mm, pmd, pte) BUG()