]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix the deciKelvin to Celsius conversion in kernel.
authorloos <loos@FreeBSD.org>
Sun, 22 May 2016 13:58:32 +0000 (13:58 +0000)
committerloos <loos@FreeBSD.org>
Sun, 22 May 2016 13:58:32 +0000 (13:58 +0000)
commitf73b4006ff80acf9a60d242d6f438db07531ecfe
tree4ab2d9021cb5084e2afb4d7628a72937244d44e7
parente0e5d3ee3792f1fe920a8174d18341c1a5f34afe
Fix the deciKelvin to Celsius conversion in kernel.

After r285994, sysctl(8) was fixed to use 273.15 instead of 273.20 as 0C
reference and as result, the temperature read in sysctl(8) now exibits a
+0.1C difference.

This commit fix the kernel references to match the reference value used in
sysctl(8) after r285994.

Sponsored by: Rubicon Communications (Netgate)
15 files changed:
sys/arm/allwinner/axp209.c
sys/arm/broadcom/bcm2835/bcm2835_cpufreq.c
sys/arm/freescale/imx/imx6_anatop.c
sys/arm/mv/mv_ts.c
sys/dev/acpi_support/acpi_asus_wmi.c
sys/dev/acpi_support/acpi_ibm.c
sys/dev/acpi_support/atk0110.c
sys/dev/acpica/acpi_thermal.c
sys/dev/amdtemp/amdtemp.c
sys/dev/coretemp/coretemp.c
sys/dev/iicbus/ds3231reg.h
sys/dev/iicbus/lm75.c
sys/powerpc/powermac/powermac_thermal.h
sys/powerpc/powermac/smu.c
sys/powerpc/powermac/smusat.c