This source file includes following definitions.
- pte_file
1
2 #ifndef _H8300_PGTABLE_H
3 #define _H8300_PGTABLE_H
4 #define __ARCH_USE_5LEVEL_HACK
5 #include <asm-generic/pgtable-nopud.h>
6 #include <asm-generic/pgtable.h>
7 extern void paging_init(void);
8 #define PAGE_NONE __pgprot(0)
9 #define PAGE_SHARED __pgprot(0)
10 #define PAGE_COPY __pgprot(0)
11 #define PAGE_READONLY __pgprot(0)
12 #define PAGE_KERNEL __pgprot(0)
13 #define __swp_type(x) (0)
14 #define __swp_offset(x) (0)
15 #define __swp_entry(typ, off) ((swp_entry_t) { ((typ) | ((off) << 7)) })
16 #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) })
17 #define __swp_entry_to_pte(x) ((pte_t) { (x).val })
18 #define kern_addr_valid(addr) (1)
19 #define pgprot_writecombine(prot) (prot)
20 #define pgprot_noncached pgprot_writecombine
21
22 static inline int pte_file(pte_t pte) { return 0; }
23 #define swapper_pg_dir ((pgd_t *) 0)
24
25
26
27
28 #define ZERO_PAGE(vaddr) (virt_to_page(0))
29
30
31
32
33 extern unsigned int kobjsize(const void *objp);
34 extern int is_in_rom(unsigned long);
35
36
37
38
39
40 #define VMALLOC_START 0
41 #define VMALLOC_END 0xffffffff
42
43 #define arch_enter_lazy_cpu_mode() do {} while (0)
44
45 #endif