git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
eal/linux: never check iopl for arm
[dpdk.git]
/
lib
/
librte_eal
/
linuxapp
/
eal
/
eal.c
diff --git
a/lib/librte_eal/linuxapp/eal/eal.c
b/lib/librte_eal/linuxapp/eal/eal.c
index
4d3e0de
..
ceac435
100644
(file)
--- a/
lib/librte_eal/linuxapp/eal/eal.c
+++ b/
lib/librte_eal/linuxapp/eal/eal.c
@@
-716,6
+716,8
@@
rte_eal_iopl_init(void)
if (iopl(3) != 0)
return -1;
return 0;
+#elif defined(RTE_ARCH_ARM) || defined(RTE_ARCH_ARM64)
+ return 0; /* iopl syscall not supported for ARM/ARM64 */
#else
return -1;
#endif