Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Sep 2021 20:27:43 GMT
From:      Vladimir Kondratyev <wulf@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 3d86f8f1d7d1 - main - LinuxKPI: Add dummy pgprot_decrypted() implementation
Message-ID:  <202109292027.18TKRhro038753@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by wulf:

URL: https://cgit.FreeBSD.org/src/commit/?id=3d86f8f1d7d1a070dd2e81367a4196a272b3bd07

commit 3d86f8f1d7d1a070dd2e81367a4196a272b3bd07
Author:     Vladimir Kondratyev <wulf@FreeBSD.org>
AuthorDate: 2021-09-29 20:14:58 +0000
Commit:     Vladimir Kondratyev <wulf@FreeBSD.org>
CommitDate: 2021-09-29 20:14:58 +0000

    LinuxKPI: Add dummy pgprot_decrypted() implementation
    
    to reduce number of #ifdefs in drm-kmod
    
    Reviewed by:    hselasky
    MFC after:      2 weeks
    Differential revision:  https://reviews.freebsd.org/D32094
---
 sys/compat/linuxkpi/common/include/asm/pgtable.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys/compat/linuxkpi/common/include/asm/pgtable.h b/sys/compat/linuxkpi/common/include/asm/pgtable.h
index 1df103060368..4831c144888d 100644
--- a/sys/compat/linuxkpi/common/include/asm/pgtable.h
+++ b/sys/compat/linuxkpi/common/include/asm/pgtable.h
@@ -40,4 +40,6 @@ typedef unsigned long	pgdval_t;
 typedef unsigned long	pgprotval_t;
 typedef struct page *pgtable_t;
 
+#define	pgprot_decrypted(prot)	(prot)
+
 #endif	/* _ASM_PGTABLE_H_ */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202109292027.18TKRhro038753>