add pgprot_decrypted() for 6.6.24 drm
authorjsg <jsg@openbsd.org>
Thu, 4 Apr 2024 05:43:43 +0000 (05:43 +0000)
committerjsg <jsg@openbsd.org>
Thu, 4 Apr 2024 05:43:43 +0000 (05:43 +0000)
sys/dev/pci/drm/include/asm/pgtable.h

index 58f3a0a..628a069 100644 (file)
@@ -7,7 +7,8 @@
 #include <machine/pte.h>
 #include <linux/types.h>
 
-#define pgprot_val(v)  (v)
+#define pgprot_val(p)          (p)
+#define pgprot_decrypted(p)    (p)
 #define PAGE_KERNEL    0
 #define PAGE_KERNEL_IO 0