Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

cpufreq: Drop unused symbol CPUFREQ_ETERNAL

Drop CPUFREQ_ETERNAL that has no users any more along with all
references to it in the documentation.

No functional impact.

Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org>
Reviewed-by: Jie Zhan <zhanjie9@hisilicon.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Qais Yousef <qyousef@layalina.io>

+3 -15
-4
Documentation/admin-guide/pm/cpufreq.rst
··· 274 274 The time it takes to switch the CPUs belonging to this policy from one 275 275 P-state to another, in nanoseconds. 276 276 277 - If unknown or if known to be so high that the scaling driver does not 278 - work with the `ondemand`_ governor, -1 (:c:macro:`CPUFREQ_ETERNAL`) 279 - will be returned by reads from this attribute. 280 - 281 277 ``related_cpus`` 282 278 List of all (online and offline) CPUs belonging to this policy. 283 279
+1 -2
Documentation/cpu-freq/cpu-drivers.rst
··· 109 109 +-----------------------------------+--------------------------------------+ 110 110 |policy->cpuinfo.transition_latency | the time it takes on this CPU to | 111 111 | | switch between two frequencies in | 112 - | | nanoseconds (if appropriate, else | 113 - | | specify CPUFREQ_ETERNAL) | 112 + | | nanoseconds | 114 113 +-----------------------------------+--------------------------------------+ 115 114 |policy->cur | The current operating frequency of | 116 115 | | this CPU (if appropriate) |
+1 -2
Documentation/translations/zh_CN/cpu-freq/cpu-drivers.rst
··· 112 112 | | | 113 113 +-----------------------------------+--------------------------------------+ 114 114 |policy->cpuinfo.transition_latency | CPU在两个频率之间切换所需的时间,以 | 115 - | | 纳秒为单位(如不适用,设定为 | 116 - | | CPUFREQ_ETERNAL) | 115 + | | 纳秒为单位 | 117 116 | | | 118 117 +-----------------------------------+--------------------------------------+ 119 118 |policy->cur | 该CPU当前的工作频率(如适用) |
+1 -2
Documentation/translations/zh_TW/cpu-freq/cpu-drivers.rst
··· 112 112 | | | 113 113 +-----------------------------------+--------------------------------------+ 114 114 |policy->cpuinfo.transition_latency | CPU在兩個頻率之間切換所需的時間,以 | 115 - | | 納秒爲單位(如不適用,設定爲 | 116 - | | CPUFREQ_ETERNAL) | 115 + | | 納秒爲單位 | 117 116 | | | 118 117 +-----------------------------------+--------------------------------------+ 119 118 |policy->cur | 該CPU當前的工作頻率(如適用) |
-5
include/linux/cpufreq.h
··· 26 26 *********************************************************************/ 27 27 /* 28 28 * Frequency values here are CPU kHz 29 - * 30 - * Maximum transition latency is in nanoseconds - if it's unknown, 31 - * CPUFREQ_ETERNAL shall be used. 32 29 */ 33 - 34 - #define CPUFREQ_ETERNAL (-1) 35 30 36 31 #define CPUFREQ_DEFAULT_TRANSITION_LATENCY_NS NSEC_PER_MSEC 37 32