summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/hfi1
diff options
context:
space:
mode:
authorEhab Ababneh <ehab.ababneh@cornelisnetworks.com>2022-07-11 10:54:38 -0400
committerLeon Romanovsky <leonro@nvidia.com>2022-07-18 13:40:38 +0300
commite39c600049d0822284da2cef3bd7ced40dc3524f (patch)
treec3801b53b745cac2dbadb460cd3c9a9e4cb6af90 /drivers/infiniband/hw/hfi1
parent82319639cd6fe436be0bb6e9277ded13d14261c0 (diff)
downloadlinux-e39c600049d0822284da2cef3bd7ced40dc3524f.tar.gz
linux-e39c600049d0822284da2cef3bd7ced40dc3524f.tar.bz2
linux-e39c600049d0822284da2cef3bd7ced40dc3524f.zip
RDMA/hfi1: Depend on !UML
Both hfi1 and UML depend on x86_64, this can trigger build errors. This driver must depends on !UML because it accesses x86_64 features that are not supported by UML. Link: https://lore.kernel.org/r/165755127879.2996325.5668395672492732376.stgit@awfm-02.cornelisnetworks.com Signed-off-by: Ehab Ababneh <ehab.ababneh@cornelisnetworks.com> Signed-off-by: Dennis Dalessandro <dennis.dalessandro@cornelisnetworks.com> Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'drivers/infiniband/hw/hfi1')
-rw-r--r--drivers/infiniband/hw/hfi1/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/hfi1/Kconfig b/drivers/infiniband/hw/hfi1/Kconfig
index 6eb739052121..14b92e12bf29 100644
--- a/drivers/infiniband/hw/hfi1/Kconfig
+++ b/drivers/infiniband/hw/hfi1/Kconfig
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: GPL-2.0-only
config INFINIBAND_HFI1
tristate "Cornelis OPX Gen1 support"
- depends on X86_64 && INFINIBAND_RDMAVT && I2C
+ depends on X86_64 && INFINIBAND_RDMAVT && I2C && !UML
select MMU_NOTIFIER
select CRC32
select I2C_ALGOBIT