diff options
Diffstat (limited to 'kernel/sched_fair.c')
-rw-r--r-- | kernel/sched_fair.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/sched_fair.c b/kernel/sched_fair.c index 804a411838f1..5bedf6e3ebf3 100644 --- a/kernel/sched_fair.c +++ b/kernel/sched_fair.c | |||
@@ -1955,7 +1955,7 @@ static void task_fork_fair(struct task_struct *p) | |||
1955 | struct rq *rq = this_rq(); | 1955 | struct rq *rq = this_rq(); |
1956 | unsigned long flags; | 1956 | unsigned long flags; |
1957 | 1957 | ||
1958 | spin_lock_irqsave(&rq->lock, flags); | 1958 | raw_spin_lock_irqsave(&rq->lock, flags); |
1959 | 1959 | ||
1960 | if (unlikely(task_cpu(p) != this_cpu)) | 1960 | if (unlikely(task_cpu(p) != this_cpu)) |
1961 | __set_task_cpu(p, this_cpu); | 1961 | __set_task_cpu(p, this_cpu); |
@@ -1975,7 +1975,7 @@ static void task_fork_fair(struct task_struct *p) | |||
1975 | resched_task(rq->curr); | 1975 | resched_task(rq->curr); |
1976 | } | 1976 | } |
1977 | 1977 | ||
1978 | spin_unlock_irqrestore(&rq->lock, flags); | 1978 | raw_spin_unlock_irqrestore(&rq->lock, flags); |
1979 | } | 1979 | } |
1980 | 1980 | ||
1981 | /* | 1981 | /* |