Browse Source

Merge branch 'pcc' into release

Len Brown 15 years ago
parent
commit
b2cb9dcb98
1 changed files with 5 additions and 1 deletions
  1. 5 1
      drivers/acpi/processor_perflib.c

+ 5 - 1
drivers/acpi/processor_perflib.c

@@ -413,7 +413,11 @@ static int acpi_processor_get_performance_info(struct acpi_processor *pr)
 	if (result)
 		goto update_bios;
 
-	return 0;
+	/* We need to call _PPC once when cpufreq starts */
+	if (ignore_ppc != 1)
+		result = acpi_processor_get_platform_limit(pr);
+
+	return result;
 
 	/*
 	 * Having _PPC but missing frequencies (_PSS, _PCT) is a very good hint that