Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 May 2020 15:10:05 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r360691 - head/sys/arm/arm
Message-ID:  <202005061510.046FA5K6064830@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202005061510.046FA5K6064830>