diff options
| author | Warner Losh <imp@FreeBSD.org> | 2008-09-28 03:50:34 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2008-09-28 03:50:34 +0000 |
| commit | ef7d53c441875ab7f35e236ec50d4aab9300664c (patch) | |
| tree | 800239b49c6aa69c9daeba62e4b6fea8a65fa195 /sys/mips | |
| parent | bd253e771651724e870071f894022375497f905a (diff) | |
Notes
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 8c32b593c915..6d047ccdda22 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(); |
