diff options
author | imp <imp@FreeBSD.org> | 2008-09-28 03:50:34 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2008-09-28 03:50:34 +0000 |
commit | 381676d27538058812679e8643e29b4589834665 (patch) | |
tree | 800239b49c6aa69c9daeba62e4b6fea8a65fa195 /sys/mips | |
parent | 5d0b4cf9836c8d13665636f36c450566ec4e4df4 (diff) | |
download | FreeBSD-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.c | 5 |
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(); |