mips: drop __pXd_offset() macros that duplicate pXd_index() ones
authorMike Rapoport <rppt@linux.ibm.com>
Thu, 21 Nov 2019 16:21:32 +0000 (18:21 +0200)
committerPaul Burton <paulburton@kernel.org>
Fri, 22 Nov 2019 18:51:17 +0000 (10:51 -0800)
commit31168f033e3751d1c9245d9ee847d775af16dcd6
tree8c5e250043d078ba695bd32239d8a20085c2cb07
parent3ed6751bb8fa89c3014399bb0414348499ee202a
mips: drop __pXd_offset() macros that duplicate pXd_index() ones

The __pXd_offset() macros are identical to the pXd_index() macros and there
is no point to keep both of them. All architectures define and use
pXd_index() so let's keep only those to make mips consistent with the rest
of the kernel.

Signed-off-by: Mike Rapoport <rppt@linux.ibm.com>
Signed-off-by: Paul Burton <paulburton@kernel.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: linux-mm@kvack.org
Cc: Mike Rapoport <rppt@kernel.org>
arch/mips/include/asm/pgtable-32.h
arch/mips/include/asm/pgtable-64.h
arch/mips/kvm/mmu.c
arch/mips/mm/fault.c
arch/mips/mm/init.c
arch/mips/mm/pgtable-32.c