From: Santosh Shukla Date: Sun, 21 Feb 2016 14:17:59 +0000 (+0530) Subject: eal/linux: never check iopl for arm X-Git-Tag: spdx-start~7600 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=0291476ae364555bdbf689f2e8abdfc19cb1a7e8;p=dpdk.git eal/linux: never check iopl for arm iopl() syscall not supported in linux-arm/arm64 so always return 0 value. Suggested-by: Stephen Hemminger Signed-off-by: Santosh Shukla Acked-by: Jan Viktorin Acked-by: David Marchand Reviewed-by: Yuanhan Liu --- diff --git a/lib/librte_eal/linuxapp/eal/eal.c b/lib/librte_eal/linuxapp/eal/eal.c index 4d3e0dec10..ceac435490 100644 --- 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