diff options
| author | Dominik Brodowski <linux@dominikbrodowski.de> | 2004-01-28 07:34:24 -0500 |
|---|---|---|
| committer | Len Brown <lenb@dhcppc3.> | 2004-01-28 07:34:24 -0500 |
| commit | cf9b129e5db461835f8b593a0c39182abba0bccc (patch) | |
| tree | 11621ea1abffe6e525842e5b2374a0237312d905 /include | |
| parent | e0654edfbeba5d5ec17ae284e0254a5c02a87469 (diff) | |
[ACPI] acpi-cpufreq fixups from Dominik Brodowski
- remove unnecessary usage of flags.performance
- remove double check of _PPC in acpi-cpufreq driver as it's handled in
drivers/acpi/processor.c already
- remove unneeded EXPORT_SYMBOL
- allocation of memory only for probed CPUs
- add unregistration function to the core
- fix OOPS when PST has core_frequency values of zero
- fix cpufreq_get() output
- fix /proc/acpi/processor/*/performance write support [deprecated]
Diffstat (limited to 'include')
| -rw-r--r-- | include/acpi/processor.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/acpi/processor.h b/include/acpi/processor.h index ade6751584d6..f693a665b00a 100644 --- a/include/acpi/processor.h +++ b/include/acpi/processor.h @@ -135,7 +135,9 @@ struct acpi_processor { extern int acpi_processor_register_performance ( struct acpi_processor_performance * performance, - struct acpi_processor ** pr, + unsigned int cpu); +extern void acpi_processor_unregister_performance ( + struct acpi_processor_performance * performance, unsigned int cpu); #endif |
