git: 4aa82e4358c0 - main - linuxkpi: Add mapping_clear_unevictable stub
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 08 Aug 2022 14:04:14 UTC
The branch main has been updated by manu:
URL: https://cgit.FreeBSD.org/src/commit/?id=4aa82e4358c0cefffbcc30ef63bfb787ffc6030c
commit 4aa82e4358c0cefffbcc30ef63bfb787ffc6030c
Author: Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2022-07-26 08:13:16 +0000
Commit: Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2022-08-08 13:22:34 +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
---
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