1/****************************************************************************
2 ****************************************************************************
3 ***
4 ***   This header was automatically generated from a Linux kernel header
5 ***   of the same name, to make information necessary for userspace to
6 ***   call into the kernel available to libc.  It contains only constants,
7 ***   structures, and macros generated from the original header, and thus,
8 ***   contains no copyrightable information.
9 ***
10 ***   To edit the content of this header, modify the corresponding
11 ***   source file (e.g. under external/kernel-headers/original/) then
12 ***   run bionic/libc/kernel/tools/update_all.py
13 ***
14 ***   Any manual change here will be lost the next time this script will
15 ***   be run. You've been warned!
16 ***
17 ****************************************************************************
18 ****************************************************************************/
19#ifndef _PGTABLE_NOPMD_H
20#define _PGTABLE_NOPMD_H
21#ifndef __ASSEMBLY__
22#include <asm-generic/pgtable-nopud.h>
23/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24struct mm_struct;
25#define __PAGETABLE_PMD_FOLDED
26typedef struct { pud_t pud; } pmd_t;
27#define PMD_SHIFT PUD_SHIFT
28/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29#define PTRS_PER_PMD 1
30#define PMD_SIZE (1UL << PMD_SHIFT)
31#define PMD_MASK (~(PMD_SIZE-1))
32#define pmd_ERROR(pmd) (pud_ERROR((pmd).pud))
33/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34#define pud_populate(mm, pmd, pte) do { } while (0)
35#define set_pud(pudptr, pudval) set_pmd((pmd_t *)(pudptr), (pmd_t) { pudval })
36#define pmd_val(x) (pud_val((x).pud))
37#define __pmd(x) ((pmd_t) { __pud(x) } )
38/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39#define pud_page(pud) (pmd_page((pmd_t){ pud }))
40#define pud_page_vaddr(pud) (pmd_page_vaddr((pmd_t){ pud }))
41#define pmd_alloc_one(mm, address) NULL
42#define __pmd_free_tlb(tlb, x, a) do { } while (0)
43/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44#undef pmd_addr_end
45#define pmd_addr_end(addr, end) (end)
46#endif
47#endif
48/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49