diff options
| author | Andrew Morton <akpm@linux-foundation.org> | 2022-06-21 15:24:15 -0700 |
|---|---|---|
| committer | akpm <akpm@linux-foundation.org> | 2022-06-27 13:45:33 -0700 |
| commit | 96eb6b13cbd43d2c194c23bd834dcb2f0e109253 (patch) | |
| tree | 0d2097516e3c39311dfd6206bd6d0e8eb8c88150 /include/linux/mm.h | |
| parent | a73620b4dff62004856801bba299b694be66d90d (diff) | |
| download | linux-next-96eb6b13cbd43d2c194c23bd834dcb2f0e109253.tar.gz linux-next-96eb6b13cbd43d2c194c23bd834dcb2f0e109253.zip | |
mm-convert-destroy_compound_page-to-destroy_large_folio-fix
uninline destroy_large_folio() to fix build issue
Cc: "Matthew Wilcox (Oracle)" <willy@infradead.org>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux/mm.h')
| -rw-r--r-- | include/linux/mm.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/include/linux/mm.h b/include/linux/mm.h index 9802d0c85931..cf746d37e504 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h @@ -923,13 +923,7 @@ static inline void set_compound_page_dtor(struct page *page, page[1].compound_dtor = compound_dtor; } -static inline void destroy_large_folio(struct folio *folio) -{ - enum compound_dtor_id dtor = folio_page(folio, 1)->compound_dtor; - - VM_BUG_ON_FOLIO(dtor >= NR_COMPOUND_DTORS, folio); - compound_page_dtors[dtor](&folio->page); -} +void destroy_large_folio(struct folio *folio); static inline int head_compound_pincount(struct page *head) { |
