diff options
author | Richard Braun <rbraun@sceen.net> | 2012-12-12 21:56:44 +0100 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2012-12-12 21:56:44 +0100 |
commit | 51bff7b18de9329d7bd77324cc597e72173fae74 (patch) | |
tree | 779b279c8ccb9f1d91b4ee8055718ae62771c8a1 /arch/x86/machine/trap.c | |
parent | 36cce230ead886a82521dd6988e2fe120eeef3fc (diff) |
kern/thread: support multiprocessor scheduling
In practice, this merely means an idle thread now exists for each CPU,
and threads can be preempted and rescheduled on each of them. There is
currently no migration between processors.
Diffstat (limited to 'arch/x86/machine/trap.c')
-rw-r--r-- | arch/x86/machine/trap.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/x86/machine/trap.c b/arch/x86/machine/trap.c index a26212a2..18bff6bc 100644 --- a/arch/x86/machine/trap.c +++ b/arch/x86/machine/trap.c @@ -150,10 +150,7 @@ trap_main(struct trap_frame *frame) { assert(frame->vector < ARRAY_SIZE(trap_handlers)); trap_handlers[frame->vector].fn(frame); - -#if 0 thread_reschedule(); -#endif } #ifdef __LP64__ |