Bugzilla – Attachment #61508: the patch for bug #138011
{
struct cpufreq_policy policy;
if (!acpi_thermal_cpufreq_is_init || cpufreq_get_policy(&policy, cpu))
return -ENODEV;
return 0;
return 1;
}
static int acpi_thermal_cpufreq_increase(unsigned int cpu)