diff options
author | Venkatesh Pallipadi <venkatesh.pallipadi@intel.com> | 2006-06-26 00:34:43 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2006-06-26 00:34:43 -0400 |
commit | 46f18e3a28295a9e11a6ffa4478241c19bc93735 (patch) | |
tree | f563b12a18cadd6583925ce1dbc3bc79538ac866 /drivers/acpi/processor_perflib.c | |
parent | 3448097fccdce4ea8f0fcad4f37f502a8cd72e68 (diff) |
ACPI: HW P-state coordination support
Treat HW coordination as independent CPUs.
This enables per-cpu monintoring of P-states
http://bugzilla.kernel.org/show_bug.cgi?id=5737
Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/processor_perflib.c')
-rw-r--r-- | drivers/acpi/processor_perflib.c | 8 |
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) |