Author: nwhitehorn
Date: Sat Nov 25 22:15:56 2017
New Revision: 326214
URL: https://svnweb.freebsd.org/changeset/base/326214

Log:
  Missed gate on __powerpc64__ for setting LPCR in r326207.
  
  MFC after:    3 weeks
  X-MFC-with:   r326207

Modified:
  head/sys/powerpc/aim/mp_cpudep.c

Modified: head/sys/powerpc/aim/mp_cpudep.c
==============================================================================
--- head/sys/powerpc/aim/mp_cpudep.c    Sat Nov 25 22:14:30 2017        
(r326213)
+++ head/sys/powerpc/aim/mp_cpudep.c    Sat Nov 25 22:15:56 2017        
(r326214)
@@ -378,8 +378,10 @@ cpudep_ap_setup()
        case IBMPOWER7PLUS:
        case IBMPOWER8:
        case IBMPOWER8E:
+#ifdef __powerpc64__
                if (mfmsr() & PSL_HV)
                        mtspr(SPR_LPCR, mfspr(SPR_LPCR) | LPCR_LPES);
+#endif
                break;
        default:
 #ifdef __powerpc64__
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to