VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Mike Rapoport <rppt@linux.ibm.com> 2020-08-06 23:22:47 -0700 committer: Linus Torvalds <torvalds@linux-foundation.org> 2020-08-07 11:33:26 -0700 commit: f9cb654cb550b7b87e8608b14fc3eca432429ffe parent: d9e8b929670b4f79e07cdbcb0fb4f162a561d5c6
Commit Summary:
asm-generic: pgalloc: provide generic pgd_free()
Diffstat:
1 file changed, 0 insertions, 5 deletions
diff --git a/arch/ia64/include/asm/pgalloc.h b/arch/ia64/include/asm/pgalloc.h
index 06f80358e20f..9601cfe83c94 100644
--- a/arch/ia64/include/asm/pgalloc.h
+++ b/arch/ia64/include/asm/pgalloc.h
@@ -29,11 +29,6 @@ static inline pgd_t *pgd_alloc(struct mm_struct *mm)
 	return (pgd_t *)__get_free_page(GFP_KERNEL | __GFP_ZERO);
 }
 
-static inline void pgd_free(struct mm_struct *mm, pgd_t *pgd)
-{
-	free_page((unsigned long)pgd);
-}
-
 #if CONFIG_PGTABLE_LEVELS == 4
 static inline void
 p4d_populate(struct mm_struct *mm, p4d_t * p4d_entry, pud_t * pud)