34 lines
1008 B
Diff
34 lines
1008 B
Diff
|
|
From 79a1955551c06966370cc9fee4cec381de27eb54 Mon Sep 17 00:00:00 2001
|
||
|
|
From: Mingzheng Xing <xingmingzheng@iscas.ac.cn>
|
||
|
|
Date: Sun, 17 Sep 2023 21:59:48 +0800
|
||
|
|
Subject: [PATCH] riscv: Add riscv64 support
|
||
|
|
|
||
|
|
Signed-off-by: Mingzheng Xing <xingmingzheng@iscas.ac.cn>
|
||
|
|
---
|
||
|
|
iotop/ioprio.py | 2 ++
|
||
|
|
1 file changed, 2 insertions(+)
|
||
|
|
|
||
|
|
diff --git a/iotop/ioprio.py b/iotop/ioprio.py
|
||
|
|
index d292add..ba804c8 100644
|
||
|
|
--- a/iotop/ioprio.py
|
||
|
|
+++ b/iotop/ioprio.py
|
||
|
|
@@ -34,6 +34,7 @@ IOPRIO_GET_ARCH_SYSCALL = [
|
||
|
|
('ia64*', '*', 1275),
|
||
|
|
('parisc*', '*', 268),
|
||
|
|
('ppc*', '*', 274),
|
||
|
|
+ ('riscv64', '*', 31),
|
||
|
|
('s390*', '*', 283),
|
||
|
|
('sparc*', '*', 218),
|
||
|
|
('sh*', '*', 289),
|
||
|
|
@@ -49,6 +50,7 @@ IOPRIO_SET_ARCH_SYSCALL = [
|
||
|
|
('ia64*', '*', 1274),
|
||
|
|
('parisc*', '*', 267),
|
||
|
|
('ppc*', '*', 273),
|
||
|
|
+ ('riscv64', '*', 30),
|
||
|
|
('s390*', '*', 282),
|
||
|
|
('sparc*', '*', 196),
|
||
|
|
('sh*', '*', 288),
|
||
|
|
--
|
||
|
|
2.23.0
|
||
|
|
|