Author: markj
Date: Wed May  6 15:10:05 2020
New Revision: 360691
URL: https://svnweb.freebsd.org/changeset/base/360691

Log:
  arm: Don't enable interrupts in init_secondary().
  
  This has the same reasoning as described in r357048.
  
  Remove a stray declaration while here.
  
  Reported and tested by:       trasz
  MFC after:    1 week
  Sponsored by: The FreeBSD Foundation

Modified:
  head/sys/arm/arm/mp_machdep.c

Modified: head/sys/arm/arm/mp_machdep.c
==============================================================================
--- head/sys/arm/arm/mp_machdep.c       Wed May  6 15:01:06 2020        
(r360690)
+++ head/sys/arm/arm/mp_machdep.c       Wed May  6 15:10:05 2020        
(r360691)
@@ -138,7 +138,6 @@ cpu_mp_announce(void)
 
 }
 
-extern vm_paddr_t pmap_pa;
 void
 init_secondary(int cpu)
 {
@@ -202,8 +201,6 @@ init_secondary(int cpu)
        }
 
        mtx_unlock_spin(&ap_boot_mtx);
-
-       enable_interrupts(PSR_I);
 
        loop_counter = 0;
        while (smp_started == 0) {
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to