ACPI processor: make /proc/acpi/processor/*/throttle depends on CONFIG_ACPI_PROCFS
commitd5c6887c7fbaf7a149c3bf441338fa833c529fb4
authorZhang Rui <rui.zhang@intel.com>
Fri, 8 Oct 2010 05:55:15 +0000 (8 13:55 +0800)
committerLen Brown <len.brown@intel.com>
Sat, 16 Oct 2010 02:03:17 +0000 (15 22:03 -0400)
treee112c1904cb23d20b87ffe66e075f3635e4a5ce1
parent39fe394d05be43481ceac8b3db19dfd5189097f6
ACPI processor: make /proc/acpi/processor/*/throttle depends on CONFIG_ACPI_PROCFS

As a feature that would only be used when system is overheating,
the processor t-state control should not be exported to user space.
Make /proc/acpi/processor/*/throttle depends on CONFIG_ACPI_PROCFS,
which is cleared by default.
And we will remove this I/F in 2.6.38.

Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/processor_driver.c
drivers/acpi/processor_throttling.c