Fix the build post-PMCR addition.

Submitted by:	lwhsu
This commit is contained in:
Justin Hibbits 2018-06-21 15:59:05 +00:00
parent de06f02ea4
commit 88cafb5b91

View File

@ -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);