Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: 689b2bd ("net: ena: add functions for handling Low Latency Queues in ena_com") Fixes: 8c590f9 ("ena: Fix Kconfig dependency on X86") Signed-off-by: Arthur Kiyanovski <akiyano@amazon.com> Signed-off-by: David S. Miller <davem@davemloft.net>
- Loading branch information