mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 12:49:46 +00:00
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>
This commit is contained in:
@@ -1497,6 +1497,8 @@ def ioprio_set(who, cls, value):
|
|||||||
NR_ioprio_set = 251
|
NR_ioprio_set = 251
|
||||||
elif _unamearch[0] == "i" and _unamearch[2:3] == "86":
|
elif _unamearch[0] == "i" and _unamearch[2:3] == "86":
|
||||||
NR_ioprio_set = 289
|
NR_ioprio_set = 289
|
||||||
|
elif _unamearch == "aarch64":
|
||||||
|
NR_ioprio_set = 30
|
||||||
|
|
||||||
if NR_ioprio_set:
|
if NR_ioprio_set:
|
||||||
ioprio = value | (cls << IOPRIO_CLASS_SHIFT)
|
ioprio = value | (cls << IOPRIO_CLASS_SHIFT)
|
||||||
|
|||||||
Reference in New Issue
Block a user