git: 88531adbfbe2 - main - LinuxKPI: Update pte_fn_t definition to match Linux 5.3

Vladimir Kondratyev wulf at FreeBSD.org
Wed Sep 29 20:27:46 UTC 2021


The branch main has been updated by wulf:

URL: https://cgit.FreeBSD.org/src/commit/?id=88531adbfbe25c6ae56cc7bbe76c825a3f5dc504

commit 88531adbfbe25c6ae56cc7bbe76c825a3f5dc504
Author:     Vladimir Kondratyev <wulf at FreeBSD.org>
AuthorDate: 2021-09-29 20:15:27 +0000
Commit:     Vladimir Kondratyev <wulf at FreeBSD.org>
CommitDate: 2021-09-29 20:15:27 +0000

    LinuxKPI: Update pte_fn_t definition to match Linux 5.3
    
    Reviewed by:    emaste, hselasky, manu
    MFC after:      2 weeks
    Differential revision:  https://reviews.freebsd.org/D32166
---
 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;


More information about the dev-commits-src-main mailing list