]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit5f7b84151a89f6f3a8d1db4db2bc4f5b270d66ee
tree943874301e41ed2d643d88c0069ad943fe22c1d1
parenta7ffce959cca257ea5a6d3ee9bfa2d7fb12bb9fa
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: b690f8df6497 ("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