svn commit: r335491 - head/sys/powerpc/cpufreq

Justin Hibbits jhibbits at FreeBSD.org
Thu Jun 21 15:59:06 UTC 2018


Author: jhibbits
Date: Thu Jun 21 15:59:05 2018
New Revision: 335491
URL: https://svnweb.freebsd.org/changeset/base/335491

Log:
  Fix the build post-PMCR addition.
  
  Submitted by:	lwhsu

Modified:
  head/sys/powerpc/cpufreq/pmcr.c

Modified: head/sys/powerpc/cpufreq/pmcr.c
==============================================================================
--- head/sys/powerpc/cpufreq/pmcr.c	Thu Jun 21 15:47:47 2018	(r335490)
+++ head/sys/powerpc/cpufreq/pmcr.c	Thu Jun 21 15:59:05 2018	(r335491)
@@ -195,7 +195,7 @@ pmcr_set(device_t dev, const struct cf_setting *set)
 	pmcr = ((long)pstate_ids[set->spec[0]] << PMCR_LOWERPS_SHIFT) &
 	    PMCR_LOWERPS_MASK;
 	pmcr |= ((long)pstate_ids[set->spec[0]] << PMCR_UPPERPS_SHIFT) &
-	    PMCR_UPPERPS_MASK
+	    PMCR_UPPERPS_MASK;
 	pmcr |= PMCR_VERSION_1;
 
 	mtspr(SPR_PMCR, pmcr);


More information about the svn-src-all mailing list