summaryrefslogtreecommitdiff
path: root/include/linux/mpage.h
diff options
context:
space:
mode:
authorSimona Vetter <simona.vetter@ffwll.ch>2026-04-07 13:27:36 +0300
committerSimona Vetter <simona.vetter@ffwll.ch>2026-04-07 13:36:31 +0300
commit322e4116ac8d48255f9599250347f48e56ce8979 (patch)
tree3409f223d48af91157372cafc964259f3a3e6e29 /include/linux/mpage.h
parent512f9f150f367176fa9e5f4613b4863409a6f686 (diff)
parent591cd656a1bf5ea94a222af5ef2ee76df029c1d2 (diff)
downloadlinux-322e4116ac8d48255f9599250347f48e56ce8979.tar.xz
Merge v7.0-rc7 into drm-next
Thomas Zimmermann needs 2f42c1a61616 ("drm/ast: dp501: Fix initialization of SCU2C") for drm-misc-next. Conflicts: - drivers/gpu/drm/amd/display/dc/hwss/dcn401/dcn401_hwseq.c Just between e927b36ae18b ("drm/amd/display: Fix NULL pointer dereference in dcn401_init_hw()") and it's cherry-pick that confused git. - drivers/gpu/drm/amd/pm/swsmu/smu11/smu_v11_0.c Deleted in 6b0a6116286e ("drm/amd/pm: Unify version check in SMUv11") but some cherry-picks confused git. Same for v12/v14. Signed-off-by: Simona Vetter <simona.vetter@ffwll.ch>
Diffstat (limited to 'include/linux/mpage.h')
-rw-r--r--include/linux/mpage.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/include/linux/mpage.h b/include/linux/mpage.h
index 1bdc39daac0a..358946990bfa 100644
--- a/include/linux/mpage.h
+++ b/include/linux/mpage.h
@@ -17,7 +17,14 @@ struct readahead_control;
void mpage_readahead(struct readahead_control *, get_block_t get_block);
int mpage_read_folio(struct folio *folio, get_block_t get_block);
-int mpage_writepages(struct address_space *mapping,
- struct writeback_control *wbc, get_block_t get_block);
+int __mpage_writepages(struct address_space *mapping,
+ struct writeback_control *wbc, get_block_t get_block,
+ int (*write_folio)(struct folio *folio,
+ struct writeback_control *wbc));
+static inline int mpage_writepages(struct address_space *mapping,
+ struct writeback_control *wbc, get_block_t get_block)
+{
+ return __mpage_writepages(mapping, wbc, get_block, NULL);
+}
#endif