Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3e5f0881 authored by Matan Barak's avatar Matan Barak Committed by Doug Ledford
Browse files

IB/hns: Avoid compile test under non 64bit environments



The hns driver uses __raw_writeq which is only defined in 64BIT
environments. Trying to compile the driver in a 32BIT environment
results in errors. Only COMPILE_TEST when 64BIT is defined.

Fixes: 7d1b6a678e0b ("IB/hns: Support compile test for hns RoCE driver")
Signed-off-by: default avatarMatan Barak <matanb@mellanox.com>
Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
parent 8ccf0981
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
config INFINIBAND_HNS
config INFINIBAND_HNS
	tristate "HNS RoCE Driver"
	tristate "HNS RoCE Driver"
	depends on NET_VENDOR_HISILICON
	depends on NET_VENDOR_HISILICON
	depends on (ARM64 || COMPILE_TEST) && HNS && HNS_DSAF && HNS_ENET
	depends on (ARM64 || (COMPILE_TEST && 64BIT)) && HNS && HNS_DSAF && HNS_ENET
	---help---
	---help---
	  This is a RoCE/RDMA driver for the Hisilicon RoCE engine. The engine
	  This is a RoCE/RDMA driver for the Hisilicon RoCE engine. The engine
	  is used in Hisilicon Hi1610 and more further ICT SoC.
	  is used in Hisilicon Hi1610 and more further ICT SoC.