浏览代码

Fix documentation and comment typo 'no_hz'

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Acked-by: Len Brown <len.brown@intel.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Paul Bolle 14 年之前
父节点
当前提交
bd74b32b77
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      Documentation/cpu-freq/governors.txt
  2. 1 1
      drivers/cpufreq/cpufreq_ondemand.c

+ 1 - 1
Documentation/cpu-freq/governors.txt

@@ -132,7 +132,7 @@ The sampling rate is limited by the HW transition latency:
 transition_latency * 100
 transition_latency * 100
 Or by kernel restrictions:
 Or by kernel restrictions:
 If CONFIG_NO_HZ is set, the limit is 10ms fixed.
 If CONFIG_NO_HZ is set, the limit is 10ms fixed.
-If CONFIG_NO_HZ is not set or no_hz=off boot parameter is used, the
+If CONFIG_NO_HZ is not set or nohz=off boot parameter is used, the
 limits depend on the CONFIG_HZ option:
 limits depend on the CONFIG_HZ option:
 HZ=1000: min=20000us  (20ms)
 HZ=1000: min=20000us  (20ms)
 HZ=250:  min=80000us  (80ms)
 HZ=250:  min=80000us  (80ms)

+ 1 - 1
drivers/cpufreq/cpufreq_ondemand.c

@@ -725,7 +725,7 @@ static int __init cpufreq_gov_dbs_init(void)
 		dbs_tuners_ins.down_differential =
 		dbs_tuners_ins.down_differential =
 					MICRO_FREQUENCY_DOWN_DIFFERENTIAL;
 					MICRO_FREQUENCY_DOWN_DIFFERENTIAL;
 		/*
 		/*
-		 * In no_hz/micro accounting case we set the minimum frequency
+		 * In nohz/micro accounting case we set the minimum frequency
 		 * not depending on HZ, but fixed (very low). The deferred
 		 * not depending on HZ, but fixed (very low). The deferred
 		 * timer might skip some samples if idle/sleeping as needed.
 		 * timer might skip some samples if idle/sleeping as needed.
 		*/
 		*/