cpufreq: schedutil: irq-work and mutex are only used in slow path
authorViresh Kumar <viresh.kumar@linaro.org>
Tue, 15 Nov 2016 08:23:23 +0000 (13:53 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 16 Nov 2016 22:21:08 +0000 (23:21 +0100)
commit21ef57297b15a49b0c4dd4e7135c1a08e9a29a1c
tree40bbbe65652db9d337bd22904e3bbcdfe2e2c3f1
parent02a7b1ee3baa15a98b541d8cfd156bbe1a091c20
cpufreq: schedutil: irq-work and mutex are only used in slow path

Execute the irq-work specific initialization/exit code only when the
fast path isn't available.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
kernel/sched/cpufreq_schedutil.c