eal/linux: never check iopl for arm
[dpdk.git] / lib / librte_eal / linuxapp / eal / eal.c
index 4d3e0de..ceac435 100644 (file)
@@ -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