Blame SOURCES/iotop-0.6-aarch64prio.patch

8955b8
diff -urN iotop-0.6.orig/iotop/ioprio.py iotop-0.6/iotop/ioprio.py
8955b8
--- iotop-0.6.orig/iotop/ioprio.py	2013-05-27 00:44:18.000000003 +0200
8955b8
+++ iotop-0.6/iotop/ioprio.py	2018-08-01 15:12:59.460788725 +0200
8955b8
@@ -27,6 +27,7 @@
8955b8
 # 'x86_64' but it will use the i386 syscall number, that's why we consider both
8955b8
 # the architecture name and the word size.
8955b8
 IOPRIO_GET_ARCH_SYSCALL = [
8955b8
+    ('aarch64',     '*',   31),
8955b8
     ('alpha',       '*',  443),
8955b8
     ('arm*',        '*',  315),
8955b8
     ('i*86',        '*',  290),
8955b8
@@ -41,6 +42,7 @@
8955b8
 ]
8955b8
 
8955b8
 IOPRIO_SET_ARCH_SYSCALL = [
8955b8
+    ('aarch64',     '*',   30),
8955b8
     ('alpha',       '*',  442),
8955b8
     ('arm*',        '*',  314),
8955b8
     ('i*86',        '*',  289),