arc: drop definitions of pgd_index() and pgd_offset{, _k}() entirely
authorRolf Eike Beer <eb@emlix.com>
Mon, 28 Mar 2022 08:15:58 +0000 (10:15 +0200)
committerVineet Gupta <vgupta@kernel.org>
Mon, 18 Apr 2022 21:44:12 +0000 (14:44 -0700)
commitd139d0f0bfdabe5762214a96f3d5c4b88f524b41
tree7f83d24774f59428a4ec0a963fd22f2eeb2f0b6e
parent3f943be0e76c72955ca4d1376b9577755be85f5c
arc: drop definitions of pgd_index() and pgd_offset{, _k}() entirely

They were in <asm/pgtables.h> and have been removed from there in
974b9b2c68f ("mm: consolidate pte_index() and pte_offset_*() definitions")
in favor of the generic version. But that missed that the same definitons
also existed in <asm/pgtable-levels.h>, where they were (inadvertently?)
introduced in fe6cb7b043b6 ("ARC: mm: disintegrate pgtable.h into levels
and flags").

Fixes: 974b9b2c68f3 ("mm: consolidate pte_index() and pte_offset_*() definitions")
Fixes: fe6cb7b043b6 ("ARC: mm: disintegrate pgtable.h into levels and flags")
Signed-off-by: Rolf Eike Beer <eb@emlix.com>
Signed-off-by: Vineet Gupta <vgupta@kernel.org>
arch/arc/include/asm/pgtable-levels.h