Thread (88 messages) 88 messages, 12 authors, 2015-12-31

Re: [ [PATCH v2] 04/13] virtio_pci: use rte_io.h for non-x86 arch

From: Jerin Jacob <hidden>
Date: 2015-12-14 14:28:39

On Mon, Dec 14, 2015 at 06:30:23PM +0530, Santosh Shukla wrote:
quoted hunk ↗ jump to hunk
Use rte_io.h for non-x86 arch.

Signed-off-by: Santosh Shukla <redacted>
---
 drivers/net/virtio/virtio_pci.h |    4 ++++
 1 file changed, 4 insertions(+)
diff --git a/drivers/net/virtio/virtio_pci.h b/drivers/net/virtio/virtio_pci.h
index 47f722a..3f4ff80 100644
--- a/drivers/net/virtio/virtio_pci.h
+++ b/drivers/net/virtio/virtio_pci.h
@@ -40,7 +40,11 @@
 #include <sys/types.h>
 #include <machine/cpufunc.h>
 #else
+#if defined(RTE_ARCH_X86_64) || defined(RTE_ARCH_I686)
 #include <sys/io.h>
+#else
+#include <rte_io.h>
I believe this patch can be squashed with patch 08/13
+#endif
 #endif
 
 #include <rte_ethdev.h>
-- 
1.7.9.5
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help