git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b635ace
)
ACPI: Fix thermal shutdowns
author
Milan Broz
<mbroz@redhat.com>
Tue, 12 Aug 2008 15:48:27 +0000
(17:48 +0200)
committer
Andi Kleen
<ak@linux.intel.com>
Fri, 15 Aug 2008 01:29:29 +0000
(
03:29
+0200)
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>
No differences found