From: Ingo Molnar Date: Tue, 22 Sep 2009 13:50:24 +0000 (+0200) Subject: x86: mce: Clean up thermal throttling state tracking code X-Git-Tag: v2.6.32-rc1~17^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3967684006f30c253bc6d4a6604d1bad4a7fc672;p=pandora-kernel.git x86: mce: Clean up thermal throttling state tracking code Instead of a mess of three separate percpu variables, consolidate the state into a single structure. Also clean up therm_throt_process(), use cleaner and more understandable variable names and a clearer logic. This, without changing the logic, makes the code more streamlined, more readable and smaller as well: text data bss dec hex filename 1487 169 4 1660 67c therm_throt.o.before 1432 176 4 1612 64c therm_throt.o.after Cc: Hidetoshi Seto Cc: Huang Ying Cc: Andi Kleen LKML-Reference: Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed