summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm/include
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2024-04-04 05:43:44 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2024-04-04 05:43:44 +0000
commit29781e3d7bf49c44f014637c8ff6c8ebb3a3b29e (patch)
tree10846a40c2551a7e71246593ea80df3f3e1f8272 /sys/dev/pci/drm/include
parent7b6637e680e95fb1bd9609f6fb509f6d49e9542c (diff)
add pgprot_decrypted() for 6.6.24 drm
Diffstat (limited to 'sys/dev/pci/drm/include')
-rw-r--r--sys/dev/pci/drm/include/asm/pgtable.h3
1 files changed, 2 insertions, 1 deletions
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 <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