summaryrefslogtreecommitdiff
path: root/i386/i386/trap.c
diff options
context:
space:
mode:
Diffstat (limited to 'i386/i386/trap.c')
-rw-r--r--i386/i386/trap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/i386/i386/trap.c b/i386/i386/trap.c
index 281594d5..51c0f0a5 100644
--- a/i386/i386/trap.c
+++ b/i386/i386/trap.c
@@ -573,10 +573,10 @@ int user_trap(struct i386_saved_state *regs)
void
i386_astintr(void)
{
- int mycpu = cpu_number();
-
(void) splsched(); /* block interrupts to check reasons */
#ifndef MACH_RING1
+ int mycpu = cpu_number();
+
if (need_ast[mycpu] & AST_I386_FP) {
/*
* AST was for delayed floating-point exception -