We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 35766eb + 26d987a commit bd15d11Copy full SHA for bd15d11
drivers/acpi/processor.c
@@ -1040,6 +1040,7 @@ acpi_processor_apply_limit (
1040
if (!pr->flags.limit)
1041
return_VALUE(-ENODEV);
1042
1043
+#ifdef CONFIG_CPU_FREQ
1044
if (pr->flags.performance) {
1045
px = pr->performance_platform_limit;
1046
if (pr->limit.user.px > px)
@@ -1058,6 +1059,7 @@ acpi_processor_apply_limit (
1058
1059
} else if (pr->performance_platform_limit) {
1060
ACPI_DEBUG_PRINT((ACPI_DB_INFO, "Platform limit event detected. Consider using ACPI P-States CPUfreq driver\n"));
1061
}
1062
+#endif
1063
1064
if (pr->flags.throttling) {
1065
if (pr->limit.user.tx > tx)
0 commit comments