summaryrefslogtreecommitdiffstats
path: root/sys/sparc64
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2010-09-14 19:35:43 +0000
committermarius <marius@FreeBSD.org>2010-09-14 19:35:43 +0000
commitf5db453abefa2813c941f74861528131edc9165e (patch)
tree47f19730adf725d479ecffcb578e7fc85da57d99 /sys/sparc64
parent48b2cf6dd7a4de40e78b829ee2c475b0cdef90df (diff)
downloadFreeBSD-src-f5db453abefa2813c941f74861528131edc9165e.zip
FreeBSD-src-f5db453abefa2813c941f74861528131edc9165e.tar.gz
Remove redundant raising of the PIL to PIL_TICK as the respective locore
code already did that.
Diffstat (limited to 'sys/sparc64')
-rw-r--r--sys/sparc64/sparc64/machdep.c1
-rw-r--r--sys/sparc64/sparc64/mp_machdep.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/sys/sparc64/sparc64/machdep.c b/sys/sparc64/sparc64/machdep.c
index 90da7c6..193da2f 100644
--- a/sys/sparc64/sparc64/machdep.c
+++ b/sys/sparc64/sparc64/machdep.c
@@ -587,7 +587,6 @@ sparc64_init(caddr_t mdp, u_long o1, u_long o2, u_long o3, ofw_vec_t *vec)
* enable them.
*/
intr_init2();
- wrpr(pil, 0, PIL_TICK);
wrpr(pstate, 0, PSTATE_KERNEL);
/*
diff --git a/sys/sparc64/sparc64/mp_machdep.c b/sys/sparc64/sparc64/mp_machdep.c
index e5a9fb3..29c7434 100644
--- a/sys/sparc64/sparc64/mp_machdep.c
+++ b/sys/sparc64/sparc64/mp_machdep.c
@@ -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++;
OpenPOWER on IntegriCloud