Go to the documentation of this file. 1 #ifndef _PGTABLE_NOPUD_H
2 #define _PGTABLE_NOPUD_H
6 #define __PAGETABLE_PUD_FOLDED
15 #define PUD_SHIFT PGDIR_SHIFT
16 #define PTRS_PER_PUD 1
17 #define PUD_SIZE (1UL << PUD_SHIFT)
18 #define PUD_MASK (~(PUD_SIZE-1))
29 #define pud_ERROR(pud) (pgd_ERROR((pud).pgd))
31 #define pgd_populate(mm, pgd, pud) do { } while (0)
36 #define set_pgd(pgdptr, pgdval) set_pud((pud_t *)(pgdptr), (pud_t) { pgdval })
43 #define pud_val(x) (pgd_val((x).pgd))
44 #define __pud(x) ((pud_t) { __pgd(x) } )
46 #define pgd_page(pgd) (pud_page((pud_t){ pgd }))
47 #define pgd_page_vaddr(pgd) (pud_page_vaddr((pud_t){ pgd }))
53 #define pud_alloc_one(mm, address) NULL
54 #define pud_free(mm, x) do { } while (0)
55 #define __pud_free_tlb(tlb, x, a) do { } while (0)
58 #define pud_addr_end(addr, end) (end)