diff options
author | Len Brown <len.brown@intel.com> | 2009-12-24 07:19:00 +0100 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-12-24 07:19:00 +0100 |
commit | fcb11235d3910c39afece52f6e106a9ca565d34b (patch) | |
tree | 07412f9c367f5f9bf6ad7ccd6fa8146c4aba68af /arch | |
parent | Merge branch 'tc1100-wmi' into release (diff) | |
parent | hp-wmi: Fix two memleaks (diff) | |
download | linux-fcb11235d3910c39afece52f6e106a9ca565d34b.tar.xz linux-fcb11235d3910c39afece52f6e106a9ca565d34b.zip |
Merge branch 'misc-2.6.33' into release
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c b/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c index f28decf8dde3..1b1920fa7c80 100644 --- a/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c +++ b/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c @@ -190,9 +190,11 @@ static void do_drv_write(void *_cmd) static void drv_read(struct drv_cmd *cmd) { + int err; cmd->val = 0; - smp_call_function_single(cpumask_any(cmd->mask), do_drv_read, cmd, 1); + err = smp_call_function_any(cmd->mask, do_drv_read, cmd, 1); + WARN_ON_ONCE(err); /* smp_call_function_any() was buggy? */ } static void drv_write(struct drv_cmd *cmd) |