diff options
author | Christophe Leroy <christophe.leroy@csgroup.eu> | 2022-09-07 11:34:44 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2022-09-26 20:58:18 +1000 |
commit | a26494cf4aeb8e9888428a43f55cc486f06f1334 (patch) | |
tree | ae7570c5c8188c9ae7b2d42ef3831e09c1b3d067 /arch/powerpc/include/asm/page.h | |
parent | 79c5640ab4460a03535ce0f120193174e7701b65 (diff) | |
download | lwn-a26494cf4aeb8e9888428a43f55cc486f06f1334.tar.gz lwn-a26494cf4aeb8e9888428a43f55cc486f06f1334.zip |
powerpc/nohash: Remove pgd_huge() stub
linux/hugetlb.h has a fallback pgd_huge() macro for when
pgd_huge is not defined.
Remove the powerpc redundant definitions.
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/ae6aa7fce84f7abcbf67f534271a4a6dd7949b0d.1662543243.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'arch/powerpc/include/asm/page.h')
-rw-r--r-- | arch/powerpc/include/asm/page.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/page.h b/arch/powerpc/include/asm/page.h index e5f75c70eda8..c67eb9531a3f 100644 --- a/arch/powerpc/include/asm/page.h +++ b/arch/powerpc/include/asm/page.h @@ -311,7 +311,6 @@ static inline bool pfn_valid(unsigned long pfn) #ifndef CONFIG_HUGETLB_PAGE #define is_hugepd(pdep) (0) -#define pgd_huge(pgd) (0) #endif /* CONFIG_HUGETLB_PAGE */ struct page; |