[oe-commits] [bitbake] 03/03: utils: Add aarch64 support to ioprio_set

git at git.openembedded.org git at git.openembedded.org
Fri Dec 14 17:12:06 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master
in repository bitbake.

commit 5eaf9e7b26f09f5f106e1c3c6976d517b289450a
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Fri Dec 14 13:14:03 2018 +0000

    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 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 f687ee4..9cb702d 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)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list