aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/acpi/processor_perflib.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/acpi/processor_perflib.c b/drivers/acpi/processor_perflib.c
index 41aaaba74b19..299fbbb07e0e 100644
--- a/drivers/acpi/processor_perflib.c
+++ b/drivers/acpi/processor_perflib.c
@@ -698,12 +698,12 @@ int acpi_processor_preregister_performance(
698 /* Validate the Domain info */ 698 /* Validate the Domain info */
699 count_target = pdomain->num_processors; 699 count_target = pdomain->num_processors;
700 count = 1; 700 count = 1;
701 if (pdomain->coord_type == DOMAIN_COORD_TYPE_SW_ALL || 701 if (pdomain->coord_type == DOMAIN_COORD_TYPE_SW_ALL)
702 pdomain->coord_type == DOMAIN_COORD_TYPE_HW_ALL) {
703 pr->performance->shared_type = CPUFREQ_SHARED_TYPE_ALL; 702 pr->performance->shared_type = CPUFREQ_SHARED_TYPE_ALL;
704 } else if (pdomain->coord_type == DOMAIN_COORD_TYPE_SW_ANY) { 703 else if (pdomain->coord_type == DOMAIN_COORD_TYPE_HW_ALL)
704 pr->performance->shared_type = CPUFREQ_SHARED_TYPE_HW;
705 else if (pdomain->coord_type == DOMAIN_COORD_TYPE_SW_ANY)
705 pr->performance->shared_type = CPUFREQ_SHARED_TYPE_ANY; 706 pr->performance->shared_type = CPUFREQ_SHARED_TYPE_ANY;
706 }
707 707
708 for_each_possible_cpu(j) { 708 for_each_possible_cpu(j) {
709 if (i == j) 709 if (i == j)