Go to the documentation of this file.
20 #ifndef _ASM_PGTABLE_3LEVEL_TYPES_H
21 #define _ASM_PGTABLE_3LEVEL_TYPES_H
23 #include <asm/types.h>
29 #undef STRICT_MM_TYPECHECKS
31 #ifdef STRICT_MM_TYPECHECKS
41 #define pte_val(x) ((x).pte)
42 #define pmd_val(x) ((x).pmd)
43 #define pgd_val(x) ((x).pgd)
44 #define pgprot_val(x) ((x).pgprot)
46 #define __pte(x) ((pte_t) { (x) } )
47 #define __pmd(x) ((pmd_t) { (x) } )
48 #define __pgd(x) ((pgd_t) { (x) } )
49 #define __pgprot(x) ((pgprot_t) { (x) } )
58 #define pte_val(x) (x)
59 #define pmd_val(x) (x)
60 #define pgd_val(x) (x)
61 #define pgprot_val(x) (x)
66 #define __pgprot(x) (x)