]> git.hungrycats.org Git - linux/commitdiff
[ACPI] add warning to thermal shutdown (Pavel Machek)
authorLen Brown <len.brown@intel.com>
Tue, 2 Dec 2003 16:25:24 +0000 (11:25 -0500)
committerLen Brown <lenb@dhcppc3.>
Tue, 2 Dec 2003 16:25:24 +0000 (11:25 -0500)
drivers/acpi/thermal.c

index 2f87710e70c744b7c7dd9b7ef874ff7fac4fc6d3..ce16d1dbab9715d264648e9febce25f1f72ac7d9 100644 (file)
@@ -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);