projects
/
ziggy471-i535-kernel.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
latest snapshot
plain
|
history
Implement ck1 patchset
/include/linux/ioprio.h
blob:
76dad48088474462b5f21deeff0414b40aca6b8e
-> blob:
72324720a973a62d542f3df2afbe00fe132a6907
--- include/linux/ioprio.h
+++ include/linux/ioprio.h
@@ -64,6 +64,8 @@ static inline int task_ioprio_class(stru
static inline int task_nice_ioprio(struct task_struct *task)
{
+ if (iso_task(task))
+ return 0;
return (task_nice(task) + 20) / 5;
}