git: 8f607f895ce2 - stable/13 - linuxkpi: Add mapping_clear_unevictable stub

From: Emmanuel Vadot <manu_at_FreeBSD.org>
Date: Wed, 07 Sep 2022 15:10:05 UTC
The branch stable/13 has been updated by manu:

URL: https://cgit.FreeBSD.org/src/commit/?id=8f607f895ce251bd6b61da22ee4843a13310679c

commit 8f607f895ce251bd6b61da22ee4843a13310679c
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2022-07-26 08:13:16 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2022-09-07 15:09:03 +0000

    linuxkpi: Add mapping_clear_unevictable stub
    
    Reviewed by:    hselasky
    Obtained from:  drm-kmod
    Sponsored by:   Beckhoff Automation GmbH & Co. KG
    Differential Revision:  https://reviews.freebsd.org/D35939
    
    (cherry picked from commit 4aa82e4358c0cefffbcc30ef63bfb787ffc6030c)
---
 sys/compat/linuxkpi/common/include/linux/pagemap.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/sys/compat/linuxkpi/common/include/linux/pagemap.h b/sys/compat/linuxkpi/common/include/linux/pagemap.h
index e25fa743f9a7..da1dc6a9e81f 100644
--- a/sys/compat/linuxkpi/common/include/linux/pagemap.h
+++ b/sys/compat/linuxkpi/common/include/linux/pagemap.h
@@ -42,4 +42,9 @@ release_pages(struct page **pages, int nr)
 		put_page(pages[i]);
 }
 
+static inline void
+mapping_clear_unevictable(vm_object_t mapping)
+{
+}
+
 #endif