Go to the documentation of this file. 1 #ifndef _PGTABLE_NOPMD_H
2 #define _PGTABLE_NOPMD_H
10 #define __PAGETABLE_PMD_FOLDED
19 #define PMD_SHIFT PUD_SHIFT
20 #define PTRS_PER_PMD 1
21 #define PMD_SIZE (1UL << PMD_SHIFT)
22 #define PMD_MASK (~(PMD_SIZE-1))
33 #define pmd_ERROR(pmd) (pud_ERROR((pmd).pud))
35 #define pud_populate(mm, pmd, pte) do { } while (0)
41 #define set_pud(pudptr, pudval) set_pmd((pmd_t *)(pudptr), (pmd_t) { pudval })
48 #define pmd_val(x) (pud_val((x).pud))
49 #define __pmd(x) ((pmd_t) { __pud(x) } )
51 #define pud_page(pud) (pmd_page((pmd_t){ pud }))
52 #define pud_page_vaddr(pud) (pmd_page_vaddr((pmd_t){ pud }))
58 #define pmd_alloc_one(mm, address) NULL
62 #define __pmd_free_tlb(tlb, x, a) do { } while (0)
65 #define pmd_addr_end(addr, end) (end)