* [PATCH] mm: Export PageHeadHuge()
@ 2021-08-20 16:14 David Howells
2021-08-20 17:35 ` Christoph Hellwig
0 siblings, 1 reply; 2+ messages in thread
From: David Howells @ 2021-08-20 16:14 UTC (permalink / raw
To: willy; +Cc: linux-mm, linux-fsdevel, linux-kernel
Export PageHeadHuge() - it's used by folio_test_hugetlb() and thence by
folio_file_page() and folio_contains().
Signed-off-by: David Howells <dhowells@redhat.com>
---
mm/hugetlb.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/mm/hugetlb.c b/mm/hugetlb.c
index 68eead0259cc..ad6ef6d2c0bc 100644
--- a/mm/hugetlb.c
+++ b/mm/hugetlb.c
@@ -1717,6 +1717,7 @@ int PageHeadHuge(struct page *page_head)
return page_head[1].compound_dtor == HUGETLB_PAGE_DTOR;
}
+EXPORT_SYMBOL(PageHeadHuge);
/*
* Find and lock address space (mapping) in write mode.
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] mm: Export PageHeadHuge()
2021-08-20 16:14 [PATCH] mm: Export PageHeadHuge() David Howells
@ 2021-08-20 17:35 ` Christoph Hellwig
0 siblings, 0 replies; 2+ messages in thread
From: Christoph Hellwig @ 2021-08-20 17:35 UTC (permalink / raw
To: David Howells; +Cc: willy, linux-mm, linux-fsdevel, linux-kernel
On Fri, Aug 20, 2021 at 05:14:47PM +0100, David Howells wrote:
> Export PageHeadHuge() - it's used by folio_test_hugetlb() and thence by
> folio_file_page() and folio_contains().
.. none of which are used in modular code in linux-next.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-08-20 17:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-20 16:14 [PATCH] mm: Export PageHeadHuge() David Howells
2021-08-20 17:35 ` Christoph Hellwig
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).