Skip to content

Commit 50247b6

Browse files
author
Al Viro
committed
kill FIRST_USER_PGD_NR
dead since 2005, time to bury the body... Reviewed-by: Michal Simek <michal.simek@amd.com> # microblaze Reviewed-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
1 parent f4cfb3c commit 50247b6

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

arch/microblaze/include/asm/pgtable.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@ extern pte_t *va_to_pte(unsigned long address);
9999
#define PTRS_PER_PGD (1 << (32 - PGDIR_SHIFT))
100100

101101
#define USER_PTRS_PER_PGD (TASK_SIZE / PGDIR_SIZE)
102-
#define FIRST_USER_PGD_NR 0
103102

104103
#define USER_PGD_PTRS (PAGE_OFFSET >> PGDIR_SHIFT)
105104
#define KERNEL_PGD_PTRS (PTRS_PER_PGD-USER_PGD_PTRS)

arch/xtensa/include/asm/pgtable.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@
5858
#define PTRS_PER_PTE_SHIFT 10
5959
#define PTRS_PER_PGD 1024
6060
#define USER_PTRS_PER_PGD (TASK_SIZE/PGDIR_SIZE)
61-
#define FIRST_USER_PGD_NR (FIRST_USER_ADDRESS >> PGDIR_SHIFT)
6261

6362
#ifdef CONFIG_MMU
6463
/*

0 commit comments

Comments
 (0)