git: c6fb23b29244 - stable/13 - LinuxKPI: Update pte_fn_t definition to match Linux 5.3
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 13 Oct 2021 09:19:22 UTC
The branch stable/13 has been updated by wulf:
URL: https://cgit.FreeBSD.org/src/commit/?id=c6fb23b29244ab9a9f77560fba43423431f400ed
commit c6fb23b29244ab9a9f77560fba43423431f400ed
Author: Vladimir Kondratyev <wulf@FreeBSD.org>
AuthorDate: 2021-09-29 20:15:27 +0000
Commit: Vladimir Kondratyev <wulf@FreeBSD.org>
CommitDate: 2021-10-13 09:07:24 +0000
LinuxKPI: Update pte_fn_t definition to match Linux 5.3
Reviewed by: emaste, hselasky, manu
Differential revision: https://reviews.freebsd.org/D32166
(cherry picked from commit 88531adbfbe25c6ae56cc7bbe76c825a3f5dc504)
---
sys/compat/linuxkpi/common/include/linux/mm.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/compat/linuxkpi/common/include/linux/mm.h b/sys/compat/linuxkpi/common/include/linux/mm.h
index 871d16cb06ff..4301e616f234 100644
--- a/sys/compat/linuxkpi/common/include/linux/mm.h
+++ b/sys/compat/linuxkpi/common/include/linux/mm.h
@@ -98,7 +98,7 @@ CTASSERT((VM_PROT_ALL & -(1 << 8)) == 0);
#define fault_flag_allow_retry_first(flags) \
(((flags) & (FAULT_FLAG_ALLOW_RETRY | FAULT_FLAG_TRIED)) == FAULT_FLAG_ALLOW_RETRY)
-typedef int (*pte_fn_t)(linux_pte_t *, pgtable_t, unsigned long addr, void *data);
+typedef int (*pte_fn_t)(linux_pte_t *, unsigned long addr, void *data);
struct vm_area_struct {
vm_offset_t vm_start;