commit | db441bd9f630329c402d5cdd319f11bfcf509fb6 | [log] [tgz] |
---|---|---|
author | Giovanni Gherdovich <ggherdovich@suse.cz> | Thu Apr 16 07:47:45 2020 +0200 |
committer | Peter Zijlstra <peterz@infradead.org> | Wed Apr 22 23:10:13 2020 +0200 |
tree | 38459f97cb3745759eaf5f14a40cf987aa2e9e7b | |
parent | b56e7d45e80796ca963ac10902245b244d823caf [diff] |
x86, sched: Move check for CPU type to caller function Improve readability of the function intel_set_max_freq_ratio() by moving the check for KNL CPUs there, together with checks for GLM and SKX. Signed-off-by: Giovanni Gherdovich <ggherdovich@suse.cz> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Link: https://lkml.kernel.org/r/20200416054745.740-5-ggherdovich@suse.cz