OSDN Git Service

intel_pstate: delete scheduler hook in HWP mode
authorLen Brown <len.brown@intel.com>
Sat, 24 Jun 2017 05:11:53 +0000 (22:11 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 26 Jun 2017 23:47:33 +0000 (01:47 +0200)
commit62611cb912f7cb08ef7815780bcc20a09abedd20
treeb9f72fdde04d5139610bb827f4b844b2705bba2b
parentf8475cef90082bf0902ddab106112de130d90395
intel_pstate: delete scheduler hook in HWP mode

The cpufreq/scaling_cur_freq sysfs attribute is now provided by
shared x86 cpufreq code on modern x86 systems, including
all systems supported by the intel_pstate driver.

In HWP mode, maintaining that value was the sole purpose of
the scheduler hook, intel_pstate_update_util_hwp(),
so it can now be removed.

Signed-off-by: Len Brown <len.brown@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/intel_pstate.c