]> git.karo-electronics.de Git - karo-tx-linux.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)
commit9f497bcc695fb828da023d74ad3c966b1e58ad21
tree5abc756eeb4003ebd78cfdf7290d4801b70c1e5b
parentb635acec48bcaa9183fcbf4e3955616b0d4119b5
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