add cc_platform_has() for 6.6.24 drm
authorjsg <jsg@openbsd.org>
Thu, 4 Apr 2024 05:38:35 +0000 (05:38 +0000)
committerjsg <jsg@openbsd.org>
Thu, 4 Apr 2024 05:38:35 +0000 (05:38 +0000)
sys/dev/pci/drm/include/linux/cc_platform.h

index e69de29..ddfdee4 100644 (file)
@@ -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