From: Dmitriy Zavin Date: Tue, 26 Sep 2006 08:52:42 +0000 (+0200) Subject: [PATCH] x86: Refactor thermal throttle processing X-Git-Tag: v2.6.19-rc1~1077^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=15d5f8398311f565682959daaca30e3ca7aea600;p=pandora-kernel.git [PATCH] x86: Refactor thermal throttle processing Refactor the event processing (syslog messaging and rate limiting) into separate file therm_throt.c. This allows consistent reporting of CPU thermal throttle events. After ACK'ing the interrupt, if the event is current, the user (p4.c/mce_intel.c) calls therm_throt_process to log (and rate limit) the event. If that function returns 1, the user has the option to log things further (such as to mce_log in x86_64). AK: minor cleanup Signed-off-by: Dmitriy Zavin Signed-off-by: Andi Kleen --- Reading git-diff-tree failed