+8
-8
arch/riscv/include/asm/pgtable.h
+8
-8
arch/riscv/include/asm/pgtable.h
···
87
87
#define VMALLOC_END (PAGE_OFFSET - 1)
88
88
#define VMALLOC_START (PAGE_OFFSET - VMALLOC_SIZE)
89
89
90
-
#define FIXADDR_TOP VMALLOC_START
91
-
#ifdef CONFIG_64BIT
92
-
#define FIXADDR_SIZE PMD_SIZE
93
-
#else
94
-
#define FIXADDR_SIZE PGDIR_SIZE
95
-
#endif
96
-
#define FIXADDR_START (FIXADDR_TOP - FIXADDR_SIZE)
97
-
98
90
/*
99
91
* Roughly size the vmemmap space to be large enough to fit enough
100
92
* struct pages to map half the virtual address space. Then
···
99
107
#define VMEMMAP_START (VMALLOC_START - VMEMMAP_SIZE)
100
108
101
109
#define vmemmap ((struct page *)VMEMMAP_START)
110
+
111
+
#define FIXADDR_TOP (VMEMMAP_START)
112
+
#ifdef CONFIG_64BIT
113
+
#define FIXADDR_SIZE PMD_SIZE
114
+
#else
115
+
#define FIXADDR_SIZE PGDIR_SIZE
116
+
#endif
117
+
#define FIXADDR_START (FIXADDR_TOP - FIXADDR_SIZE)
102
118
103
119
/*
104
120
* ZERO_PAGE is a global shared page that is always zero,