svn commit: r212619 - head/sys/sparc64/sparc64

Marius Strobl marius at FreeBSD.org
Tue Sep 14 19:35:44 UTC 2010


Author: marius
Date: Tue Sep 14 19:35:43 2010
New Revision: 212619
URL: http://svn.freebsd.org/changeset/base/212619

Log:
  Remove redundant raising of the PIL to PIL_TICK as the respective locore
  code already did that.

Modified:
  head/sys/sparc64/sparc64/machdep.c
  head/sys/sparc64/sparc64/mp_machdep.c

Modified: head/sys/sparc64/sparc64/machdep.c
==============================================================================
--- head/sys/sparc64/sparc64/machdep.c	Tue Sep 14 18:58:51 2010	(r212618)
+++ head/sys/sparc64/sparc64/machdep.c	Tue Sep 14 19:35:43 2010	(r212619)
@@ -587,7 +587,6 @@ sparc64_init(caddr_t mdp, u_long o1, u_l
 	 * enable them.
 	 */
 	intr_init2();
-	wrpr(pil, 0, PIL_TICK);
 	wrpr(pstate, 0, PSTATE_KERNEL);
 
 	/*

Modified: head/sys/sparc64/sparc64/mp_machdep.c
==============================================================================
--- head/sys/sparc64/sparc64/mp_machdep.c	Tue Sep 14 18:58:51 2010	(r212618)
+++ head/sys/sparc64/sparc64/mp_machdep.c	Tue Sep 14 19:35:43 2010	(r212619)
@@ -446,7 +446,6 @@ cpu_mp_bootstrap(struct pcpu *pc)
 	cpu_setregs(pc);
 
 	/* Enable interrupts. */
-	wrpr(pil, 0, PIL_TICK);
 	wrpr(pstate, 0, PSTATE_KERNEL);
 
 	smp_cpus++;


More information about the svn-src-head mailing list