summaryrefslogtreecommitdiffstats
path: root/sys/mips
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2008-09-28 03:50:34 +0000
committerimp <imp@FreeBSD.org>2008-09-28 03:50:34 +0000
commit381676d27538058812679e8643e29b4589834665 (patch)
tree800239b49c6aa69c9daeba62e4b6fea8a65fa195 /sys/mips
parent5d0b4cf9836c8d13665636f36c450566ec4e4df4 (diff)
downloadFreeBSD-src-381676d27538058812679e8643e29b4589834665.zip
FreeBSD-src-381676d27538058812679e8643e29b4589834665.tar.gz
Fix comments to relate to FreeBSD's current interrupt blocking
functionality, as opposed to the legacy spl means.
Diffstat (limited to 'sys/mips')
-rw-r--r--sys/mips/mips/trap.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/mips/mips/trap.c b/sys/mips/mips/trap.c
index 8c32b59..6d047cc 100644
--- a/sys/mips/mips/trap.c
+++ b/sys/mips/mips/trap.c
@@ -336,10 +336,9 @@ trap(trapframe)
/*
* Enable hardware interrupts if they were on before the trap. If it
- * was off disable all (splhigh) so we don't accidently enable it
- * when doing a spllower().
+ * was off disable all so we don't accidently enable it when doing a
+ * return to userland.
*/
-/*XXX do in locore? */
if (trapframe->sr & SR_INT_ENAB) {
set_intr_mask(~(trapframe->sr & ALL_INT_MASK));
enableintr();
OpenPOWER on IntegriCloud