diff options
author | bert hubert <bert.hubert@netherlabs.nl> | 2006-07-30 21:19:32 +0200 |
---|---|---|
committer | Dave Jones <davej@redhat.com> | 2006-07-31 18:37:06 -0400 |
commit | 12e704db809cd4101b7d3594fc9a96f30fe88a31 (patch) | |
tree | 827912b694756f36b38cc46e1fd3a793c6caf9cd | |
parent | ea71497020c55cd39221e0abad5c1752ac6e3f47 (diff) |
[CPUFREQ] Propagate acpi_processor_preregister_performance return value.
Note how any error from acpi_processor_preregister_performance is ignored.
From: bert hubert <bert.hubert@netherlabs.nl>
Signed-off-by: Dave Jones <davej@redhat.com>
-rw-r--r-- | arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c b/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c index 567b39bea07..efb41e81351 100644 --- a/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c +++ b/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c @@ -384,8 +384,7 @@ static int acpi_cpufreq_early_init_acpi(void) } /* Do initialization in ACPI core */ - acpi_processor_preregister_performance(acpi_perf_data); - return 0; + return acpi_processor_preregister_performance(acpi_perf_data); } static int |