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

[ Available lists | Index of svn-src-all | Month of Sep 2010 | Week of 14 Sep 2010 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Marius Strobl <marius@FreeBSD.org>
Date
14 Sep 2010 19:35:43
Subject
svn commit: r212619 - head/sys/sparc64/sparc64
Message-ID
201009141935.o8EJZhxp090635@svn.freebsd.org


[ Hide this part ]
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++;

Elapsed time: 0.060 seconds