projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea71497
)
[CPUFREQ] Propagate acpi_processor_preregister_performance return value.
author
bert hubert
<bert.hubert@netherlabs.nl>
Sun, 30 Jul 2006 19:19:32 +0000
(21:19 +0200)
committer
Dave Jones
<davej@redhat.com>
Mon, 31 Jul 2006 22:37:06 +0000
(18:37 -0400)
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>
arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c
patch
|
blob
|
history
diff --git
a/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c
b/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c
index 567b39bea07e4fbbe091b265b010905e3d30ff5a..efb41e81351ce5c9e47ffceba31a03c0daa85166 100644
(file)
--- 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