diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-02-03 17:49:49 -0500 |
---|---|---|
committer | Adrian Bunk <bunk@r063144.stusta.swh.mhn.de> | 2006-02-03 17:49:49 -0500 |
commit | 01d206a7c1167639f6ca6dac22140fbdca017558 (patch) | |
tree | bc3ccf1a8140a7f787c4728cfa4c30e65ad56eb2 /drivers/acpi/processor_perflib.c | |
parent | 9c4b562abc9005e4b413de02c85d3d29da707cba (diff) | |
parent | d6c8f6aaa1d7f68c1e6471ab0839d9047cdd159f (diff) |
Merge with git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
Diffstat (limited to 'drivers/acpi/processor_perflib.c')
-rw-r--r-- | drivers/acpi/processor_perflib.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/acpi/processor_perflib.c b/drivers/acpi/processor_perflib.c index 22c7bb66c200..abbdb37a7f5f 100644 --- a/drivers/acpi/processor_perflib.c +++ b/drivers/acpi/processor_perflib.c | |||
@@ -315,8 +315,6 @@ static int acpi_processor_get_performance_info(struct acpi_processor *pr) | |||
315 | if (!pr || !pr->performance || !pr->handle) | 315 | if (!pr || !pr->performance || !pr->handle) |
316 | return_VALUE(-EINVAL); | 316 | return_VALUE(-EINVAL); |
317 | 317 | ||
318 | acpi_processor_set_pdc(pr, pr->performance->pdc); | ||
319 | |||
320 | status = acpi_get_handle(pr->handle, "_PCT", &handle); | 318 | status = acpi_get_handle(pr->handle, "_PCT", &handle); |
321 | if (ACPI_FAILURE(status)) { | 319 | if (ACPI_FAILURE(status)) { |
322 | ACPI_DEBUG_PRINT((ACPI_DB_INFO, | 320 | ACPI_DEBUG_PRINT((ACPI_DB_INFO, |
@@ -520,8 +518,8 @@ static void acpi_cpufreq_add_file(struct acpi_processor *pr) | |||
520 | "Unable to create '%s' fs entry\n", | 518 | "Unable to create '%s' fs entry\n", |
521 | ACPI_PROCESSOR_FILE_PERFORMANCE)); | 519 | ACPI_PROCESSOR_FILE_PERFORMANCE)); |
522 | else { | 520 | else { |
521 | acpi_processor_perf_fops.write = acpi_processor_write_performance; | ||
523 | entry->proc_fops = &acpi_processor_perf_fops; | 522 | entry->proc_fops = &acpi_processor_perf_fops; |
524 | entry->proc_fops->write = acpi_processor_write_performance; | ||
525 | entry->data = acpi_driver_data(device); | 523 | entry->data = acpi_driver_data(device); |
526 | entry->owner = THIS_MODULE; | 524 | entry->owner = THIS_MODULE; |
527 | } | 525 | } |