aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/arch/mips/mm/pgtable.c
diff options
context:
space:
mode:
authorMike Rapoport <rppt@linux.ibm.com>2022-07-03 17:11:55 +0300
committerakpm <akpm@linux-foundation.org>2022-07-17 17:14:42 -0700
commitbb5af4f67a567e723ac83956167efb57687b0793 (patch)
tree44861ab56a5a422927639174118867bf36a3791e /arch/mips/mm/pgtable.c
parentmips: drop definitions of PTE_ORDER (diff)
downloadwireguard-linux-bb5af4f67a567e723ac83956167efb57687b0793.tar.xz
wireguard-linux-bb5af4f67a567e723ac83956167efb57687b0793.zip
mips: rename PGD_ORDER to PGD_TABLE_ORDER
This is the order of the page table allocation, not the order of a PGD. While at it remove unused defintion of _PGD_ORDER in asm-offsets. Link: https://lkml.kernel.org/r/20220703141203.147893-7-rppt@kernel.org Signed-off-by: Mike Rapoport <rppt@linux.ibm.com> Cc: Arnd Bergmann <arnd@arndb.de> Cc: Dinh Nguyen <dinguyen@kernel.org> Cc: Guo Ren <guoren@kernel.org> Cc: Helge Deller <deller@gmx.de> Cc: Huacai Chen <chenhuacai@kernel.org> Cc: James Bottomley <James.Bottomley@HansenPartnership.com> Cc: "Matthew Wilcox (Oracle)" <willy@infradead.org> Cc: Max Filippov <jcmvbkbc@gmail.com> 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/mips/mm/pgtable.c')
-rw-r--r--arch/mips/mm/pgtable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/mm/pgtable.c b/arch/mips/mm/pgtable.c
index 05560b042d82..3b7590660a04 100644
--- a/arch/mips/mm/pgtable.c
+++ b/arch/mips/mm/pgtable.c
@@ -12,7 +12,7 @@ pgd_t *pgd_alloc(struct mm_struct *mm)
{
pgd_t *ret, *init;
- ret = (pgd_t *) __get_free_pages(GFP_KERNEL, PGD_ORDER);
+ ret = (pgd_t *) __get_free_pages(GFP_KERNEL, PGD_TABLE_ORDER);
if (ret) {
init = pgd_offset(&init_mm, 0UL);
pgd_init((unsigned long)ret);