diff options
author | Len Brown <len.brown@intel.com> | 2009-12-24 01:19:00 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-12-24 01:19:00 -0500 |
commit | fcb11235d3910c39afece52f6e106a9ca565d34b (patch) | |
tree | 07412f9c367f5f9bf6ad7ccd6fa8146c4aba68af /arch/x86/kernel/cpu | |
parent | 78a5331dddcffabadef024ccc051f7a519b13238 (diff) | |
parent | 44ef00e6482e755f36629773abc2aee83a6f53e3 (diff) |
Merge branch 'misc-2.6.33' into release
Diffstat (limited to 'arch/x86/kernel/cpu')
-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 f28decf8dde..1b1920fa7c8 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) |