diff options
-rw-r--r-- | Documentation/kernel-parameters.txt | 5 | ||||
-rw-r--r-- | drivers/acpi/thermal.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index de3300c9056a..ed7d7913af8c 100644 --- a/Documentation/kernel-parameters.txt +++ b/Documentation/kernel-parameters.txt | |||
@@ -1823,6 +1823,11 @@ and is between 256 and 4096 characters. It is defined in the file | |||
1823 | thermal.off= [HW,ACPI] | 1823 | thermal.off= [HW,ACPI] |
1824 | 1: disable ACPI thermal control | 1824 | 1: disable ACPI thermal control |
1825 | 1825 | ||
1826 | thermal.tzp= [HW,ACPI] | ||
1827 | Specify global default ACPI thermal zone polling rate | ||
1828 | <deci-seconds>: poll all this frequency | ||
1829 | 0: no polling (default) | ||
1830 | |||
1826 | time Show timing data prefixed to each printk message line | 1831 | time Show timing data prefixed to each printk message line |
1827 | [deprecated, see 'printk.time'] | 1832 | [deprecated, see 'printk.time'] |
1828 | 1833 | ||
diff --git a/drivers/acpi/thermal.c b/drivers/acpi/thermal.c index 61337d969d7f..b6b3bec84547 100644 --- a/drivers/acpi/thermal.c +++ b/drivers/acpi/thermal.c | |||
@@ -75,7 +75,7 @@ MODULE_DESCRIPTION("ACPI Thermal Zone Driver"); | |||
75 | MODULE_LICENSE("GPL"); | 75 | MODULE_LICENSE("GPL"); |
76 | 76 | ||
77 | static int tzp; | 77 | static int tzp; |
78 | module_param(tzp, int, 0); | 78 | module_param(tzp, int, 0444); |
79 | MODULE_PARM_DESC(tzp, "Thermal zone polling frequency, in 1/10 seconds.\n"); | 79 | MODULE_PARM_DESC(tzp, "Thermal zone polling frequency, in 1/10 seconds.\n"); |
80 | 80 | ||
81 | static int off; | 81 | static int off; |