Bug 446560

Summary: Add support ionice for Super-H architecture.
Product: [Fedora] Fedora Reporter: CHIKAMA Masaki <masaki.chikama>
Component: util-linux-ngAssignee: Karel Zak <kzak>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: sh4   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-07-03 08:25:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
util-linux-ng-2.13-sh-linux.patch none

Description CHIKAMA Masaki 2008-05-15 03:32:18 UTC
Description of problem:
 This patche is forward ported for ../util-linux-ng-2.13.1-6
getting from http://www.sh-linux.org/ .
 It adds system call number for Super-H architecture
to work ionice command.


--- schedutils/ionice.c.orig    2007-10-04 22:37:42.000000000 +0900
+++ schedutils/ionice.c 2008-02-11 01:00:40.000000000 +0900
@@ -38,6 +38,9 @@
 # elif defined(__sparc__) || defined(__sparc64__)
 #  define __NR_ioprio_set              196
 #  define __NR_ioprio_get              218
+# elif defined(__sh__)
+#  define __NR_ioprio_set              288
+#  define __NR_ioprio_get              289
 # else
 #  error "Unsupported arch"
 # endif

Comment 1 CHIKAMA Masaki 2008-05-15 03:32:18 UTC
Created attachment 305436 [details]
util-linux-ng-2.13-sh-linux.patch