mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 00:34:20 +08:00
3222b36f46
The counter is exported to /sys that keeps track of the number of thermal events, such that the user knows how bad the thermal problem might be (since the logging to syslog and mcelog is rate limited). AK: Fixed cpu hotplug locking Signed-off-by: Dmitriy Zavin <dmitriyz@google.com> Signed-off-by: Andi Kleen <ak@suse.de>
10 lines
206 B
C
10 lines
206 B
C
#ifndef __ASM_I386_THERM_THROT_H__
|
|
#define __ASM_I386_THERM_THROT_H__ 1
|
|
|
|
#include <asm/atomic.h>
|
|
|
|
extern atomic_t therm_throt_en;
|
|
int therm_throt_process(int curr);
|
|
|
|
#endif /* __ASM_I386_THERM_THROT_H__ */
|