summaryrefslogtreecommitdiffstats
path: root/arch/xtensa/include/asm/pgtable.h
diff options
context:
space:
mode:
authorMike Rapoport <rppt@linux.ibm.com>2022-07-03 17:12:03 +0300
committerakpm <akpm@linux-foundation.org>2022-07-17 17:14:44 -0700
commit64c5ed22d6080f8ad07ed782087582a5f023f788 (patch)
tree2d127afcecab88f27a989ce796a54460329d9a77 /arch/xtensa/include/asm/pgtable.h
parent4501a7a03994f3d8bcf830cc42888868e88c8191 (diff)
downloadlinux-64c5ed22d6080f8ad07ed782087582a5f023f788.tar.bz2
xtensa: drop definition of PGD_ORDER
This is the order of the page table allocation, not the order of a PGD. Since its always hardwired to 0, simply drop it. Link: https://lkml.kernel.org/r/20220703141203.147893-15-rppt@kernel.org Signed-off-by: Mike Rapoport <rppt@linux.ibm.com> Acked-by: Helge Deller <deller@gmx.de> Acked-by: Max Filippov <jcmvbkbc@gmail.com> Cc: Arnd Bergmann <arnd@arndb.de> Cc: Dinh Nguyen <dinguyen@kernel.org> Cc: Guo Ren <guoren@kernel.org> Cc: Huacai Chen <chenhuacai@kernel.org> Cc: James Bottomley <James.Bottomley@HansenPartnership.com> Cc: "Matthew Wilcox (Oracle)" <willy@infradead.org> Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de> Cc: Xuerui Wang <kernel@xen0n.name> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'arch/xtensa/include/asm/pgtable.h')
-rw-r--r--arch/xtensa/include/asm/pgtable.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/xtensa/include/asm/pgtable.h b/arch/xtensa/include/asm/pgtable.h
index e0d5531ae00d..54f577c13afa 100644
--- a/arch/xtensa/include/asm/pgtable.h
+++ b/arch/xtensa/include/asm/pgtable.h
@@ -57,7 +57,6 @@
#define PTRS_PER_PTE 1024
#define PTRS_PER_PTE_SHIFT 10
#define PTRS_PER_PGD 1024
-#define PGD_ORDER 0
#define USER_PTRS_PER_PGD (TASK_SIZE/PGDIR_SIZE)
#define FIRST_USER_PGD_NR (FIRST_USER_ADDRESS >> PGDIR_SHIFT)