summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/utils.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2018-12-14 13:14:03 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-12-14 17:10:59 +0000
commit88c41f3d8bc0107d7e416b69b2ac248c2e57c9fc (patch)
tree0b6c113bf26e70f6bc91b2b39f223988d94d8916 /bitbake/lib/bb/utils.py
parent999ae9291cda3e3472341b0b66b59d5c6bad986e (diff)
downloadpoky-88c41f3d8bc0107d7e416b69b2ac248c2e57c9fc.tar.gz
bitbake: utils: Add aarch64 support to ioprio_set
With aarch64 hosts coming into use, set the syscall number to avoid ioprio warnings on that platform. (Bitbake rev: 5eaf9e7b26f09f5f106e1c3c6976d517b289450a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/utils.py')
-rw-r--r--bitbake/lib/bb/utils.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/bb/utils.py b/bitbake/lib/bb/utils.py
index f687ee4127..9cb702dbb7 100644
--- a/bitbake/lib/bb/utils.py
+++ b/bitbake/lib/bb/utils.py
@@ -1497,6 +1497,8 @@ def ioprio_set(who, cls, value):
1497 NR_ioprio_set = 251 1497 NR_ioprio_set = 251
1498 elif _unamearch[0] == "i" and _unamearch[2:3] == "86": 1498 elif _unamearch[0] == "i" and _unamearch[2:3] == "86":
1499 NR_ioprio_set = 289 1499 NR_ioprio_set = 289
1500 elif _unamearch == "aarch64":
1501 NR_ioprio_set = 30
1500 1502
1501 if NR_ioprio_set: 1503 if NR_ioprio_set:
1502 ioprio = value | (cls << IOPRIO_CLASS_SHIFT) 1504 ioprio = value | (cls << IOPRIO_CLASS_SHIFT)