Skip to content

Commit 23a522e

Browse files
committed
cpufreq: intel_pstate: Clean up aperf_mperf_shift description
The kerneldoc description of the aperf_mperf_shift field in struct global_params is unclear and there is a typo in it, so simplify it and clean it up. Reported-by: Lee Jones <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]> Reviewed-by: Lee Jones <[email protected]>
1 parent 133c6c8 commit 23a522e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

drivers/cpufreq/intel_pstate.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -201,9 +201,7 @@ struct global_params {
201201
* @pstate: Stores P state limits for this CPU
202202
* @vid: Stores VID limits for this CPU
203203
* @last_sample_time: Last Sample time
204-
* @aperf_mperf_shift: Number of clock cycles after aperf, merf is incremented
205-
* This shift is a multiplier to mperf delta to
206-
* calculate CPU busy.
204+
* @aperf_mperf_shift: APERF vs MPERF counting frequency difference
207205
* @prev_aperf: Last APERF value read from APERF MSR
208206
* @prev_mperf: Last MPERF value read from MPERF MSR
209207
* @prev_tsc: Last timestamp counter (TSC) value

0 commit comments

Comments
 (0)