export thermal hot variable for GPU
Signed-off-by: Rong Dian <b38775@freescale.com>
{ANATOP_THERMAL_HID},
{""},
};
+int thermal_hot;
+EXPORT_SYMBOL(thermal_hot);
enum {
DEBUG_USER_STATE = 1U << 0,
printk(KERN_WARNING "thermal_notify: trip_critical reached!\n");
arch_reset(mode, cmd);
} else if (trip_type == THERMAL_TRIP_HOT) {
+ thermal_hot = 1;
printk(KERN_DEBUG "thermal_notify: trip_hot reached!\n");
type = ANATOP_THERMAL_NOTIFY_HOT;
/* if temperature increase, continue to detach secondary CPUs*/
printk(KERN_INFO "No secondary CPUs detached!\n");
full_run = false;
} else {
+ thermal_hot = 0;
if (!full_run) {
temperature_cooling = 0;
if (cooling_cpuhotplug)