]> git.baikalelectronics.ru Git - kernel.git/commit
xilinx: Fix build on x86.
authorDavid S. Miller <davem@davemloft.net>
Mon, 13 Jun 2022 11:49:21 +0000 (12:49 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Jun 2022 11:49:21 +0000 (12:49 +0100)
commit94aaef844e1efe97e17034ed753270c8272e4901
tree943874301e41ed2d643d88c0069ad943fe22c1d1
parent1daca4f23e667c89cfac9b45ffc02cbff252e901
xilinx:  Fix build on x86.

CONFIG_64BIT is not sufficient for checking for availability of
iowrite64() and friends.

Also, the out_addr helpers need to be inline.

Fixes: fabf294a1c8f ("net: axienet: Use iowrite64 to write all 64b descriptor pointers")
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/xilinx/xilinx_axienet.h