clear-pkgs-linux-iot-lts2018/0623-hyper_dmabuf-Enable-hy...

31 lines
1.0 KiB
Diff
Raw Permalink Normal View History

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2018-10-11 02:06:46 +08:00
From: Vivek Kasireddy <vivek.kasireddy@intel.com>
Date: Thu, 22 Mar 2018 15:11:05 -0700
Subject: [PATCH] hyper_dmabuf: Enable hyper_dmabuf only on x86 or x86_64
2018-10-11 02:06:46 +08:00
The hyper_dmabuf driver is designed and tested only on x86/x86_64
architecture based systems. Therefore, disable it when trying to build
for other architectures.
Signed-off-by: Vivek Kasireddy <vivek.kasireddy@intel.com>
Reviewed-by: Mateusz Polrola <mateuszx.potrola@intel.com>
---
drivers/dma-buf/hyper_dmabuf/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/dma-buf/hyper_dmabuf/Kconfig b/drivers/dma-buf/hyper_dmabuf/Kconfig
2020-10-27 02:14:06 +08:00
index 88992167c645..999900b97625 100644
2018-10-11 02:06:46 +08:00
--- a/drivers/dma-buf/hyper_dmabuf/Kconfig
+++ b/drivers/dma-buf/hyper_dmabuf/Kconfig
@@ -3,6 +3,7 @@ menu "hyper_dmabuf options"
config HYPER_DMABUF
bool "Enables hyper dmabuf driver"
default y
+ depends on (X86=y || X86_64=y || 64BIT=y)
choice
prompt "Hypervisor"
--
https://clearlinux.org
2018-10-11 02:06:46 +08:00