artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17f67a8
)
add cc_platform_has() for 6.6.24 drm
author
jsg
<jsg@openbsd.org>
Thu, 4 Apr 2024 05:38:35 +0000
(
05:38
+0000)
committer
jsg
<jsg@openbsd.org>
Thu, 4 Apr 2024 05:38:35 +0000
(
05:38
+0000)
sys/dev/pci/drm/include/linux/cc_platform.h
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/include/linux/cc_platform.h
b/sys/dev/pci/drm/include/linux/cc_platform.h
index
e69de29
..
ddfdee4
100644
(file)
--- a/
sys/dev/pci/drm/include/linux/cc_platform.h
+++ b/
sys/dev/pci/drm/include/linux/cc_platform.h
@@
-0,0
+1,16
@@
+/* Public domain. */
+
+#ifndef _LINUX_CC_PLATFORM_H
+#define _LINUX_CC_PLATFORM_H
+
+#include <linux/types.h>
+
+#define CC_ATTR_GUEST_MEM_ENCRYPT 0
+
+static inline bool
+cc_platform_has(int x)
+{
+ return false;
+}
+
+#endif