lkml.org 
[lkml]   [2021]   [Nov]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] mm: Export PageHeadHuge()
From
Date
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>
cc: linux-mm@kvack.org
---

mm/hugetlb.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/mm/hugetlb.c b/mm/hugetlb.c
index e09159c957e3..16f2e5d5f1a9 100644
--- a/mm/hugetlb.c
+++ b/mm/hugetlb.c
@@ -1852,6 +1852,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.

\
 
 \ /
  Last update: 2021-11-16 14:56    [W:0.045 / U:1.956 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site