summaryrefslogtreecommitdiff
path: root/usr/src/uts/intel/io/amdzen/smntemp.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/intel/io/amdzen/smntemp.c')
-rw-r--r--usr/src/uts/intel/io/amdzen/smntemp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/uts/intel/io/amdzen/smntemp.c b/usr/src/uts/intel/io/amdzen/smntemp.c
index 94b7aa8b83..43ef57f34e 100644
--- a/usr/src/uts/intel/io/amdzen/smntemp.c
+++ b/usr/src/uts/intel/io/amdzen/smntemp.c
@@ -116,7 +116,7 @@ smntemp_temp_update(smntemp_t *smn, smntemp_temp_t *stt)
ASSERT(MUTEX_HELD((&stt->stt_mutex)));
- if ((ret = amdzen_c_smn_read32(stt->stt_dfno, SMN_SMU_THERMAL_CURTEMP,
+ if ((ret = amdzen_c_smn_read(stt->stt_dfno, SMN_SMU_THERMAL_CURTEMP,
&reg)) != 0) {
return (ret);
}