summaryrefslogtreecommitdiff
path: root/Documentation/mtd
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-09-22 15:50:24 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2009-11-09 16:23:06 -0800
commitfe2414ca987a3a49007bec6fd12254c7defae2a9 (patch)
tree6ed91ef964780a5ab2c1254fc91a68d064cf8a76 /Documentation/mtd
parent94f48f549e455e4abbb3f0d6e65185830cbec8f1 (diff)
downloadlwn-fe2414ca987a3a49007bec6fd12254c7defae2a9.tar.gz
lwn-fe2414ca987a3a49007bec6fd12254c7defae2a9.zip
x86: mce: Clean up thermal throttling state tracking code
commit 3967684006f30c253bc6d4a6604d1bad4a7fc672 upstream. 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 <seto.hidetoshi@jp.fujitsu.com> Cc: Huang Ying <ying.huang@intel.com> Cc: Andi Kleen <ak@linux.intel.com> LKML-Reference: <new-submission> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Documentation/mtd')
0 files changed, 0 insertions, 0 deletions