diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-08-27 03:29:24 +0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-08-27 03:29:24 +0400 |
commit | 551f5c74e17ba9257cdc35bf657ee448cad2d5b0 (patch) | |
tree | f4e4ca5f0624c75dbf285ada81bd564e51b8955e /drivers/acpi/processor_thermal.c | |
parent | 8462d9df9d5033da4d25e59016b1e7a9d94a1f22 (diff) | |
parent | b9d10be7a8e88fdcb12540387c219cdde87b0795 (diff) | |
download | linux-551f5c74e17ba9257cdc35bf657ee448cad2d5b0.tar.xz |
Merge branch 'acpi-processor'
* acpi-processor:
ACPI / processor: Acquire writer lock to update CPU maps
ACPI / processor: Remove acpi_processor_get_limit_info()
Diffstat (limited to 'drivers/acpi/processor_thermal.c')
-rw-r--r-- | drivers/acpi/processor_thermal.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/acpi/processor_thermal.c b/drivers/acpi/processor_thermal.c index e8e652710e65..d1d2e7fb5b30 100644 --- a/drivers/acpi/processor_thermal.c +++ b/drivers/acpi/processor_thermal.c @@ -186,18 +186,6 @@ static int cpufreq_set_cur_state(unsigned int cpu, int state) #endif -int acpi_processor_get_limit_info(struct acpi_processor *pr) -{ - - if (!pr) - return -EINVAL; - - if (pr->flags.throttling) - pr->flags.limit = 1; - - return 0; -} - /* thermal coolign device callbacks */ static int acpi_processor_max_state(struct acpi_processor *pr) { |