Skip to content
Commit 9f497bcc authored by Milan Broz's avatar Milan Broz Committed by Andi Kleen
Browse files

ACPI: Fix thermal shutdowns



Do not use unsigned int if there is test for negative number...

See drivers/acpi/processor_perflib.c
  static unsigned int ignore_ppc = -1;
...
  if (event == CPUFREQ_START && ignore_ppc <= 0) {
       ignore_ppc = 0;
...

Signed-off-by: default avatarMilan Broz <mbroz@redhat.com>
Signed-off-by: default avatarAndi Kleen <ak@linux.intel.com>
parent b635acec
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment