From 381676d27538058812679e8643e29b4589834665 Mon Sep 17 00:00:00 2001 From: imp Date: Sun, 28 Sep 2008 03:50:34 +0000 Subject: Fix comments to relate to FreeBSD's current interrupt blocking functionality, as opposed to the legacy spl means. --- sys/mips/mips/trap.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'sys/mips') 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(); -- cgit v1.1