diff options
author | Arjan van de Ven <arjan@linux.intel.com> | 2023-06-05 15:47:13 +0000 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2023-06-12 20:07:22 +0200 |
commit | 4622ba923e55e12cb76081c8865b01fcb383a9d8 (patch) | |
tree | 50b83b18d462888f75d3f2ec64fd0cb8c8cc531c /fs | |
parent | 858fd168a95c5b9669aac8db6c14a9aeab446375 (diff) |
intel_idle: refactor state->enter manipulation into its own function
Since the 6.4 kernel, the logic for updating a state's enter method
based on "environmental conditions" (command line options, cpu sidechannel
workarounds etc etc) has gotten pretty complex.
This patch refactors this into a seperate small, self contained function
(no behavior changes) for improved readability and to make future
changes to this logic easier to do and understand.
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions