]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
kill FIRST_USER_PGD_NR
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 3 Feb 2023 19:37:59 +0000 (14:37 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 16 Sep 2025 01:11:39 +0000 (21:11 -0400)
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>
arch/microblaze/include/asm/pgtable.h
arch/xtensa/include/asm/pgtable.h

index bae1abfa6f6b863924de9f0cc954ebdb4d09a778..ec10ec9ca6394fcc035dbd92562ed15b5f46396c 100644 (file)
@@ -99,7 +99,6 @@ extern pte_t *va_to_pte(unsigned long address);
 #define PTRS_PER_PGD   (1 << (32 - PGDIR_SHIFT))
 
 #define USER_PTRS_PER_PGD      (TASK_SIZE / PGDIR_SIZE)
-#define FIRST_USER_PGD_NR      0
 
 #define USER_PGD_PTRS (PAGE_OFFSET >> PGDIR_SHIFT)
 #define KERNEL_PGD_PTRS (PTRS_PER_PGD-USER_PGD_PTRS)
index d6eb695f2b26588fb98bb169a3e5406528d7d5b2..50a136213b2bf2024dea9e91c3eef9644442677f 100644 (file)
@@ -58,7 +58,6 @@
 #define PTRS_PER_PTE_SHIFT     10
 #define PTRS_PER_PGD           1024
 #define USER_PTRS_PER_PGD      (TASK_SIZE/PGDIR_SIZE)
-#define FIRST_USER_PGD_NR      (FIRST_USER_ADDRESS >> PGDIR_SHIFT)
 
 #ifdef CONFIG_MMU
 /*