Commit 098ca921 authored by Matthew Wilcox (Oracle)'s avatar Matthew Wilcox (Oracle) Committed by Greg Kroah-Hartman
Browse files

s390/mm: Convert make_page_secure to use a folio



[ Upstream commit 259e660d ]

These page APIs are deprecated, so convert the incoming page to a folio
and use the folio APIs instead.  The ultravisor API cannot handle large
folios, so return -EINVAL if one has slipped through.

Acked-by: default avatarClaudio Imbrenda <imbrenda@linux.ibm.com>
Signed-off-by: default avatarMatthew Wilcox (Oracle) <willy@infradead.org>
Link: https://lore.kernel.org/r/20240322161149.2327518-2-willy@infradead.org


Signed-off-by: default avatarAlexander Gordeev <agordeev@linux.ibm.com>
Stable-dep-of: 3f29f653 ("s390/uv: Don't call folio_wait_writeback() without a folio reference")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 249212ce
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment