]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI: Fix thermal shutdowns
authorMilan Broz <mbroz@redhat.com>
Tue, 12 Aug 2008 15:48:27 +0000 (17:48 +0200)
committerAndi Kleen <ak@linux.intel.com>
Fri, 15 Aug 2008 01:29:29 +0000 (03:29 +0200)
commitfdbc85a8ed6e597bf9b90f5774f37862b675d977
tree5abc756eeb4003ebd78cfdf7290d4801b70c1e5b
parent51ca3452ccd1358baf8f77979ed85173af346559
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: Milan Broz <mbroz@redhat.com>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
drivers/acpi/processor_perflib.c