aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/sched.c')
-rw-r--r--kernel/sched.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index a24d6d5d83f6..f87abe3b0176 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -2864,9 +2864,9 @@ unsigned long nr_iowait(void)
2864 return sum; 2864 return sum;
2865} 2865}
2866 2866
2867unsigned long nr_iowait_cpu(void) 2867unsigned long nr_iowait_cpu(int cpu)
2868{ 2868{
2869 struct rq *this = this_rq(); 2869 struct rq *this = cpu_rq(cpu);
2870 return atomic_read(&this->nr_iowait); 2870 return atomic_read(&this->nr_iowait);
2871} 2871}
2872 2872