Removed include sys/io.h for arm builds. 82/221082/1 accepted/tizen_6.0_unified accepted/tizen_6.0_unified_hotfix accepted/tizen_6.5_base accepted/tizen_7.0_base accepted/tizen_7.0_base_hotfix accepted/tizen_base_dev accepted/tizen_unified tizen_6.0 tizen_6.0_hotfix tizen_6.5_base tizen_7.0_base tizen_7.0_base_hotfix accepted/tizen/6.0/unified/20201030.110245 accepted/tizen/6.0/unified/hotfix/20201102.233818 accepted/tizen/6.0/unified/hotfix/20201103.050833 accepted/tizen/6.5/base/20211028.060254 accepted/tizen/7.0/base/20221116.025906 accepted/tizen/7.0/base/hotfix/20221116.055314 accepted/tizen/8.0/base/20231005.044857 accepted/tizen/base/20210825.055336 accepted/tizen/base/20221115.103742 accepted/tizen/base/dev/20230602.080828 accepted/tizen/unified/20191227.142646 submit/tizen/20191227.043226 submit/tizen/20210825.034250 submit/tizen_6.0/20201029.205502 submit/tizen_6.0_hotfix/20201102.192902 submit/tizen_6.0_hotfix/20201103.115102 submit/tizen_6.5_base/20211028.134101 submit/tizen_base/20210825.034748 submit/tizen_base/20210825.035742 tizen_6.0.m2_release tizen_6.5.m2_release tizen_7.0_m2_release tizen_8.0_m2_release
authorAndrey Kazmin <a.kazmin@partner.samsung.com>
Tue, 17 Dec 2019 12:28:54 +0000 (15:28 +0300)
committerSooChan Lim <sc1.lim@samsung.com>
Fri, 27 Dec 2019 04:05:17 +0000 (13:05 +0900)
IO ports access is no longer supported by glibc for arm.
See glibc commit: 6b33f373c7b9199e00ba5fbafd94ac9bfb4337b1

Change-Id: Icfcf886562b8fc95481ba3597a64604d73029e57
Signed-off-by: Andrey Kazmin <a.kazmin@partner.samsung.com>
src/linux_sysfs.c

index ce6f295..8ab1c72 100644 (file)
@@ -45,7 +45,7 @@
 #include <dirent.h>
 #include <errno.h>
 
-#if defined(__i386__) || defined(__x86_64__) || defined(__arm__)
+#if defined(__i386__) || defined(__x86_64__)
 #include <sys/io.h>
 #else
 #define inb(x) -1