diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-12-14 13:14:03 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-12-14 14:01:05 +0000 |
commit | 5eaf9e7b26f09f5f106e1c3c6976d517b289450a (patch) | |
tree | 3ab8d78768e9f6caa772aadb38368378f7d4e691 | |
parent | 3a3be518536acc868c7eeb3c1111ad1b321480b7 (diff) | |
download | bitbake-contrib-5eaf9e7b26f09f5f106e1c3c6976d517b289450a.tar.gz |
utils: Add aarch64 support to ioprio_set
With aarch64 hosts coming into use, set the syscall number to
avoid ioprio warnings on that platform.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | lib/bb/utils.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bb/utils.py b/lib/bb/utils.py index f687ee412..9cb702dbb 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) |