From: jsg Date: Thu, 4 Apr 2024 05:38:35 +0000 (+0000) Subject: add cc_platform_has() for 6.6.24 drm X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=607aae165febf68d8bffc9b6d72f709a4f95af75;p=openbsd add cc_platform_has() for 6.6.24 drm --- diff --git a/sys/dev/pci/drm/include/linux/cc_platform.h b/sys/dev/pci/drm/include/linux/cc_platform.h index e69de29bb2d..ddfdee44e66 100644 --- 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 + +#define CC_ATTR_GUEST_MEM_ENCRYPT 0 + +static inline bool +cc_platform_has(int x) +{ + return false; +} + +#endif