diff options
author | Matthew Garrett <mjg@redhat.com> | 2010-07-15 11:44:00 -0400 |
---|---|---|
committer | Dave Jones <davej@redhat.com> | 2010-07-26 15:25:34 -0400 |
commit | 179ee43465343d1f8f2a4af25ead4ae15e43fa6e (patch) | |
tree | 7e8f56588cbb44657a801a23e1589308f0cc553e /arch/x86/kernel/verify_cpu_64.S | |
parent | 3847d223f2e4da5ceb47ea8996618010192f3197 (diff) |
[CPUFREQ] Fix PCC driver error path
The PCC cpufreq driver unmaps the mailbox address range if any CPUs fail to
initialise, but doesn't do anything to remove the registered CPUs from the
cpufreq core resulting in failures further down the line. We're better off
simply returning a failure - the cpufreq core will unregister us cleanly if
we end up with no successfully registered CPUs. Tidy up the failure path
and also add a sanity check to ensure that the firmware gives us a realistic
frequency - the core deals badly with that being set to 0.
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Cc: Naga Chumbalkar <nagananda.chumbalkar@hp.com>
Signed-off-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'arch/x86/kernel/verify_cpu_64.S')
0 files changed, 0 insertions, 0 deletions