Skip to contentSkip to conversation

2.6.26.3: ACPI: Fix thermal shutdowns

DISCUSSION Thomas Meyer 2 participants 2 messages Aug 19, 2008

lore
Share & tools
lore
#1 lore raw
Quoted 6 lines · Thomas Meyer

Hi.

This one should go in 2.6.26.3, too:

I didn't see it in Greg's list:

Why haven't you sent a CC to Greg, then? :-)

Quoted 13 lines

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;

...

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=9f497bcc695fb828da023d74ad3c966b1e58ad21