net: ena: fix compilation error in xtensa architecture
authorArthur Kiyanovski <akiyano@amazon.com>
Sun, 21 Oct 2018 15:07:14 +0000 (18:07 +0300)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 15 May 2019 22:07:16 +0000 (23:07 +0100)
commit77bdd0f0c664c6d0496e947b3b0a4b697c86e13a
tree419ee7aaa77561ae5b8dd8f710630864afc828e2
parent711f733e041fb6b9e92c63e571fb7576425c4cb2
net: ena: fix compilation error in xtensa architecture

linux/prefetch.h is never explicitly included in ena_com, although
functions from it, such as prefetchw(), are used throughout ena_com.
This is an inclusion bug, and we fix it here by explicitly including
linux/prefetch.h. The bug was exposed when the driver was compiled
for the xtensa architecture.

Fixes: 689b2bdaaa14 ("net: ena: add functions for handling Low Latency Queues in ena_com")
Fixes: 8c590f977638 ("ena: Fix Kconfig dependency on X86")
Signed-off-by: Arthur Kiyanovski <akiyano@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Gbp-Pq: Topic features/all/ena
Gbp-Pq: Name 0016-net-ena-fix-compilation-error-in-xtensa-architecture.patch
drivers/net/ethernet/amazon/ena/ena_com.h