From 9f6b7c508111de378119cabaa15725a55c649a3b Mon Sep 17 00:00:00 2001 From: jsg Date: Thu, 4 Apr 2024 05:43:43 +0000 Subject: [PATCH] add pgprot_decrypted() for 6.6.24 drm --- sys/dev/pci/drm/include/asm/pgtable.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/dev/pci/drm/include/asm/pgtable.h b/sys/dev/pci/drm/include/asm/pgtable.h index 58f3a0aa1d4..628a069e081 100644 --- a/sys/dev/pci/drm/include/asm/pgtable.h +++ b/sys/dev/pci/drm/include/asm/pgtable.h @@ -7,7 +7,8 @@ #include #include -#define pgprot_val(v) (v) +#define pgprot_val(p) (p) +#define pgprot_decrypted(p) (p) #define PAGE_KERNEL 0 #define PAGE_KERNEL_IO 0 -- 2.20.1