Commit f2e90a1e authored by Len Brown's avatar Len Brown Committed by Len Brown

[ACPI] add warning to thermal shutdown (Pavel Machek)

parent febc94c5
......@@ -467,6 +467,7 @@ acpi_thermal_critical (
if (result)
return_VALUE(result);
printk(KERN_EMERG "Critical temperature reached (%ld C), shutting down.\n", KELVIN_TO_CELSIUS(tz->temperature));
acpi_bus_generate_event(device, ACPI_THERMAL_NOTIFY_CRITICAL, tz->trips.critical.flags.enabled);
acpi_thermal_call_usermode(ACPI_THERMAL_PATH_POWEROFF);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment