Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Sep 2010 08:18:53 +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-8@freebsd.org
Subject:   svn commit: r212814 - stable/8/sys/sparc64/sparc64
Message-ID:  <201009180818.o8I8IrS7057228@svn.freebsd.org>

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

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

Modified:
  stable/8/sys/sparc64/sparc64/machdep.c
  stable/8/sys/sparc64/sparc64/mp_machdep.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)
  stable/8/sys/dev/xen/xenpci/   (props changed)

Modified: stable/8/sys/sparc64/sparc64/machdep.c
==============================================================================
--- stable/8/sys/sparc64/sparc64/machdep.c	Sat Sep 18 07:45:54 2010	(r212813)
+++ stable/8/sys/sparc64/sparc64/machdep.c	Sat Sep 18 08:18:53 2010	(r212814)
@@ -586,7 +586,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/8/sys/sparc64/sparc64/mp_machdep.c
==============================================================================
--- stable/8/sys/sparc64/sparc64/mp_machdep.c	Sat Sep 18 07:45:54 2010	(r212813)
+++ stable/8/sys/sparc64/sparc64/mp_machdep.c	Sat Sep 18 08:18:53 2010	(r212814)
@@ -444,7 +444,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.o8I8IrS7057228>