File tree Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -16,8 +16,6 @@ extern bool pgtable_l5_enabled;
16
16
#define PGDIR_SHIFT_L3 30
17
17
#define PGDIR_SHIFT_L4 39
18
18
#define PGDIR_SHIFT_L5 48
19
- #define PGDIR_SIZE_L3 (_AC(1, UL) << PGDIR_SHIFT_L3)
20
-
21
19
#define PGDIR_SHIFT (pgtable_l5_enabled ? PGDIR_SHIFT_L5 : \
22
20
(pgtable_l4_enabled ? PGDIR_SHIFT_L4 : PGDIR_SHIFT_L3))
23
21
/* Size of region mapped by a page global directory */
Original file line number Diff line number Diff line change @@ -870,7 +870,6 @@ static inline pte_t pte_swp_clear_exclusive(pte_t pte)
870
870
*/
871
871
#ifdef CONFIG_64BIT
872
872
#define TASK_SIZE_64 (PGDIR_SIZE * PTRS_PER_PGD / 2)
873
- #define TASK_SIZE_MIN (PGDIR_SIZE_L3 * PTRS_PER_PGD / 2)
874
873
875
874
#ifdef CONFIG_COMPAT
876
875
#define TASK_SIZE_32 (_AC(0x80000000, UL) - PAGE_SIZE)
@@ -882,7 +881,6 @@ static inline pte_t pte_swp_clear_exclusive(pte_t pte)
882
881
883
882
#else
884
883
#define TASK_SIZE FIXADDR_START
885
- #define TASK_SIZE_MIN TASK_SIZE
886
884
#endif
887
885
888
886
#else /* CONFIG_MMU */
You can’t perform that action at this time.
0 commit comments