mm: drop hugetlb_free_pgd_range()
There are no longer any callers of hugetlb_free_pgd_range(). Link: https://lkml.kernel.org/r/20250716012611.10369-4-anthony.yznaga@oracle.com Signed-off-by: Anthony Yznaga <anthony.yznaga@oracle.com> Acked-by: Mike Rapoport (Microsoft) <rppt@kernel.org> Acked-by: Oscar Salvador <osalvador@suse.de> Cc: Alexander Gordeev <agordeev@linux.ibm.com> Cc: Alexandre Ghiti <alexghiti@rivosinc.com> Cc: Andreas Larsson <andreas@gaisler.com> Cc: Anshuman Khandual <anshuman.khandual@arm.com> Cc: Arnd Bergmann <arnd@arndb.de> Cc: Christophe Leroy <christophe.leroy@csgroup.eu> Cc: David Hildenbrand <david@redhat.com> Cc: David S. Miller <davem@davemloft.net> Cc: Liam Howlett <liam.howlett@oracle.com> Cc: Lorenzo Stoakes <lorenzo.stoakes@oracle.com> Cc: Michal Hocko <mhocko@suse.com> Cc: Muchun Song <muchun.song@linux.dev> Cc: Ryan Roberts <ryan.roberts@arm.com> Cc: Suren Baghdasaryan <surenb@google.com> Cc: Vlastimil Babka <vbabka@suse.cz> Cc: Will Deacon <will@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>pull/1311/head
parent
1c7bf6c545
commit
441413d2a9
|
|
@ -66,15 +66,6 @@ static inline void huge_pte_clear(struct mm_struct *mm, unsigned long addr,
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef __HAVE_ARCH_HUGETLB_FREE_PGD_RANGE
|
|
||||||
static inline void hugetlb_free_pgd_range(struct mmu_gather *tlb,
|
|
||||||
unsigned long addr, unsigned long end,
|
|
||||||
unsigned long floor, unsigned long ceiling)
|
|
||||||
{
|
|
||||||
free_pgd_range(tlb, addr, end, floor, ceiling);
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef __HAVE_ARCH_HUGE_SET_HUGE_PTE_AT
|
#ifndef __HAVE_ARCH_HUGE_SET_HUGE_PTE_AT
|
||||||
static inline void set_huge_pte_at(struct mm_struct *mm, unsigned long addr,
|
static inline void set_huge_pte_at(struct mm_struct *mm, unsigned long addr,
|
||||||
pte_t *ptep, pte_t pte, unsigned long sz)
|
pte_t *ptep, pte_t pte, unsigned long sz)
|
||||||
|
|
|
||||||
|
|
@ -390,13 +390,6 @@ static inline int is_hugepage_only_range(struct mm_struct *mm,
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline void hugetlb_free_pgd_range(struct mmu_gather *tlb,
|
|
||||||
unsigned long addr, unsigned long end,
|
|
||||||
unsigned long floor, unsigned long ceiling)
|
|
||||||
{
|
|
||||||
BUG();
|
|
||||||
}
|
|
||||||
|
|
||||||
#ifdef CONFIG_USERFAULTFD
|
#ifdef CONFIG_USERFAULTFD
|
||||||
static inline int hugetlb_mfill_atomic_pte(pte_t *dst_pte,
|
static inline int hugetlb_mfill_atomic_pte(pte_t *dst_pte,
|
||||||
struct vm_area_struct *dst_vma,
|
struct vm_area_struct *dst_vma,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue