Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Sep 2010 08:18:56 +0000 (UTC)
From:      Marius Strobl <marius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org
Subject:   svn commit: r212815 - stable/7/sys/sparc64/sparc64
Message-ID:  <201009180818.o8I8Iu5F057260@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marius
Date: Sat Sep 18 08:18:56 2010
New Revision: 212815
URL: http://svn.freebsd.org/changeset/base/212815

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

Modified:
  stable/7/sys/sparc64/sparc64/machdep.c
  stable/7/sys/sparc64/sparc64/mp_machdep.c
Directory Properties:
  stable/7/sys/   (props changed)
  stable/7/sys/cddl/contrib/opensolaris/   (props changed)
  stable/7/sys/contrib/dev/acpica/   (props changed)
  stable/7/sys/contrib/pf/   (props changed)

Modified: stable/7/sys/sparc64/sparc64/machdep.c
==============================================================================
--- stable/7/sys/sparc64/sparc64/machdep.c	Sat Sep 18 08:18:53 2010	(r212814)
+++ stable/7/sys/sparc64/sparc64/machdep.c	Sat Sep 18 08:18:56 2010	(r212815)
@@ -576,7 +576,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: stable/7/sys/sparc64/sparc64/mp_machdep.c
==============================================================================
--- stable/7/sys/sparc64/sparc64/mp_machdep.c	Sat Sep 18 08:18:53 2010	(r212814)
+++ stable/7/sys/sparc64/sparc64/mp_machdep.c	Sat Sep 18 08:18:56 2010	(r212815)
@@ -436,7 +436,6 @@ cpu_mp_bootstrap(struct pcpu *pc)
 	cpu_setregs(pc);
 
 	/* Enable interrupts. */
-	wrpr(pil, 0, PIL_TICK);
 	wrpr(pstate, 0, PSTATE_KERNEL);
 
 	/* Start the (S)TICK interrupts. */



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