diff options
author | Milan Broz <[email protected]> | 2008-08-12 17:48:27 +0200 |
---|---|---|
committer | Andi Kleen <[email protected]> | 2008-08-15 03:29:29 +0200 |
commit | 9f497bcc695fb828da023d74ad3c966b1e58ad21 (patch) | |
tree | 5abc756eeb4003ebd78cfdf7290d4801b70c1e5b /fs/filesystems.c | |
parent | b635acec48bcaa9183fcbf4e3955616b0d4119b5 (diff) |
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 <[email protected]>
Signed-off-by: Andi Kleen <[email protected]>
Diffstat (limited to 'fs/filesystems.c')
0 files changed, 0 insertions, 0 deletions