summaryrefslogtreecommitdiff
path: root/arch/x86/machine/trap.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/machine/trap.c')
-rw-r--r--arch/x86/machine/trap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/machine/trap.c b/arch/x86/machine/trap.c
index 983f99e2..42b5750d 100644
--- a/arch/x86/machine/trap.c
+++ b/arch/x86/machine/trap.c
@@ -245,7 +245,7 @@ trap_main(struct trap_frame *frame)
if (handler->flags & TRAP_HF_NOPREEMPT)
thread_preempt_enable_no_resched();
- thread_reschedule();
+ thread_schedule();
}
#ifdef __LP64__