aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorThomas Renninger <[email protected]>2010-02-20 11:44:27 +0100
committerLen Brown <[email protected]>2010-02-23 00:43:36 -0500
commitfa80945269f312bc609e8384302f58b03c916e12 (patch)
treea35b94464a24d0a597b81ab63e4af1b1930f238b /tools/perf/util/trace-event-scripting.c
parent9f3a6284880ceea452903e2043c88d7226736318 (diff)
ACPI thermal: Don't invalidate thermal zone if critical trip point is bad
V2: Corrected integer/long conversion. Some BIOSes return a negative value for the critical trip point. Especially since Windows 2006... We currently invalidate the whole thermal zone in this case. But it may still be needed for cooling, also without critical trip point. This patch invalidates the critical trip point if no _CRT function is found or if it returns negative values, but does not invalidate the whole thermal zone in this case. Reference: http://bugzilla.novell.com/show_bug.cgi?id=531547 Signed-off-by: Thomas Renninger <[email protected]> Tested-by: [email protected] Acked-by: Zhang Rui <[email protected]> Signed-off-by: Len Brown <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions