Message ID | 200911172227.nAHMRX7i023346@imap1.linux-foundation.org (mailing list archive) |
---|---|
State | RFC, archived |
Headers | show |
diff -puN drivers/acpi/thermal.c~acpi-thermal-display-forced-passive-trip-points-in-proc drivers/acpi/thermal.c --- a/drivers/acpi/thermal.c~acpi-thermal-display-forced-passive-trip-points-in-proc +++ a/drivers/acpi/thermal.c @@ -1052,6 +1052,13 @@ static int acpi_thermal_trip_seq_show(st acpi_device_bid(device)); } seq_puts(seq, "\n"); + } else { + seq_printf(seq, "passive (forced):"); + if (tz->thermal_zone->forced_passive) + seq_printf(seq, " %i C\n", + tz->thermal_zone->forced_passive / 1000); + else + seq_printf(seq, "<not set>\n"); } for (i = 0; i < ACPI_THERMAL_MAX_ACTIVE; i++) {