diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2019-12-13 09:55:52 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2019-12-27 11:02:07 +0100 |
commit | 9f3d6daf61e5156139cd05643f7f1c2a9b7b49b0 (patch) | |
tree | 8ec73b4ba51d4c6626a8e70f3ca76931159d016d /samples/Makefile | |
parent | ACPI: processor: Export acpi_processor_evaluate_cst() (diff) | |
download | linux-9f3d6daf61e5156139cd05643f7f1c2a9b7b49b0.tar.xz linux-9f3d6daf61e5156139cd05643f7f1c2a9b7b49b0.zip |
intel_idle: Refactor intel_idle_cpuidle_driver_init()
Move the C-state verification and checks from
intel_idle_cpuidle_driver_init() to a separate function,
intel_idle_verify_cstate(), and make the former call it after
checking the CPUIDLE_FLAG_UNUSABLE state flag.
Also combine the drv->states[] updates with the incrementation of
drv->state_count.
No intentional functional impact.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'samples/Makefile')
0 files changed, 0 insertions, 0 deletions