|
@@ -5100,7 +5100,7 @@ long sys_sched_rr_get_interval(pid_t pid, struct timespec __user *interval)
|
|
time_slice = 0;
|
|
time_slice = 0;
|
|
if (p->policy == SCHED_RR) {
|
|
if (p->policy == SCHED_RR) {
|
|
time_slice = DEF_TIMESLICE;
|
|
time_slice = DEF_TIMESLICE;
|
|
- } else {
|
|
|
|
|
|
+ } else if (p->policy != SCHED_FIFO) {
|
|
struct sched_entity *se = &p->se;
|
|
struct sched_entity *se = &p->se;
|
|
unsigned long flags;
|
|
unsigned long flags;
|
|
struct rq *rq;
|
|
struct rq *rq;
|