]> www.infradead.org Git - users/jedix/linux-maple.git/commit
hugetlb: remove PageHeadHuge()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 27 Mar 2023 15:10:50 +0000 (16:10 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Wed, 5 Apr 2023 23:02:46 +0000 (16:02 -0700)
commit9cb559fb5b78a58271a4aad63cdfaacd7a455066
treee13add5ce431c9ac1a47faad628ca9764c034536
parent545feb1818859a33272e4fa99ea24c0156a74b95
hugetlb: remove PageHeadHuge()

Sidhartha Kumar removed the last caller of PageHeadHuge(), so we can now
remove it and make folio_test_hugetlb() the real implementation.  Add
kernel-doc for folio_test_hugetlb().

Link: https://lkml.kernel.org/r/20230327151050.1787744-1-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Sidhartha Kumar <sidhartha.kumar@oracle.com>
Reviewed-by: Mike Kravetz <mike.kravetz@oracle.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Muchun Song <songmuchun@bytedance.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/page-flags.h
mm/hugetlb.c