commit | 145d952a29320dea883246bcb24ba1da7ac4bb7f | [log] [tgz] |
---|---|---|
author | Daniel Lezcano <daniel.lezcano@linaro.org> | Thu Oct 04 14:04:02 2018 +0200 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Thu Oct 25 16:49:26 2018 +0200 |
tree | b921a75f5e0cdd2fcd52925cce9dc5825157ea2b | |
parent | bd6bf7c10484f026505814b690104cdef27ed460 [diff] |
sched: Factor out nr_iowait and nr_iowait_cpu The function nr_iowait_cpu() can be used directly by nr_iowait() instead of duplicating code. Call nr_iowait_cpu() from nr_iowait() Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>