mm: remove guard around pgd_offset_k() macro
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Sat, 16 Mar 2024 11:52:41 +0000 (12:52 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 26 Apr 2024 03:55:43 +0000 (20:55 -0700)
commit5b0a67008b0d608bb7585fe4c3c0c09d5ceaf1c9
tree39a06baac6872fb3927149141cf8ad1162fe62e5
parent5d1bc760583f225032f91bd88853f4c26acaf4e0
mm: remove guard around pgd_offset_k() macro

The last architecture redefining pgd_offset_k() was IA64 and it was
removed by commit cf8e8658100d ("arch: Remove Itanium (IA-64)
architecture")

There is no need anymore to guard generic version of pgd_offset_k()
with #ifndef pgd_offset_k

Link: https://lkml.kernel.org/r/59d3f47d5615d18cca1986f269be2fcb3df34556.1710589838.git.christophe.leroy@csgroup.eu
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/pgtable.h