[bitbake-devel] [PATCH 3/3] utils: Add aarch64 support to ioprio_set
Richard Purdie
richard.purdie at linuxfoundation.org
Fri Dec 14 14:02:19 UTC 2018
With aarch64 hosts coming into use, set the syscall number to
avoid ioprio warnings on that platform.
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
lib/bb/utils.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/bb/utils.py b/lib/bb/utils.py
index f687ee4127..9cb702dbb7 100644
--- a/lib/bb/utils.py
+++ b/lib/bb/utils.py
@@ -1497,6 +1497,8 @@ def ioprio_set(who, cls, value):
NR_ioprio_set = 251
elif _unamearch[0] == "i" and _unamearch[2:3] == "86":
NR_ioprio_set = 289
+ elif _unamearch == "aarch64":
+ NR_ioprio_set = 30
if NR_ioprio_set:
ioprio = value | (cls << IOPRIO_CLASS_SHIFT)
--
2.19.1
More information about the bitbake-devel
mailing list