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 /lib/is_single_threaded.c | |
parent | 77fb4e0a559a960eb36d0b2c50c781c5492577eb (diff) |
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 'lib/is_single_threaded.c')
0 files changed, 0 insertions, 0 deletions