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>
This commit is contained in:
parent
82319639cd
commit
e39c600049
@ -1,7 +1,7 @@
|
|||||||
# SPDX-License-Identifier: GPL-2.0-only
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
config INFINIBAND_HFI1
|
config INFINIBAND_HFI1
|
||||||
tristate "Cornelis OPX Gen1 support"
|
tristate "Cornelis OPX Gen1 support"
|
||||||
depends on X86_64 && INFINIBAND_RDMAVT && I2C
|
depends on X86_64 && INFINIBAND_RDMAVT && I2C && !UML
|
||||||
select MMU_NOTIFIER
|
select MMU_NOTIFIER
|
||||||
select CRC32
|
select CRC32
|
||||||
select I2C_ALGOBIT
|
select I2C_ALGOBIT
|
||||||
|
Loading…
Reference in New Issue
Block a user