diff options
author | Richard Braun <rbraun@sceen.net> | 2013-06-04 20:43:53 +0200 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2013-06-04 20:47:32 +0200 |
commit | 485e24a7afeebb7f0ce933fd3be8c61472902c34 (patch) | |
tree | c58d4f33c7db25026ada5e3d8a54bfbaeaa1e5e2 /arch/x86/machine/cpu.c | |
parent | 7c038b801b9007d2ae27420995b7f4fcfb8e70a1 (diff) |
x86/{cpu,tcb}: move scheduling interrupts handling
Move scheduling interrupt functions from the tcb module to the cpu module.
In addition, rename the related trap and functions to avoid mentioning
"rescheduling", as it just makes descriptions more confusing. Instead,
include the name of the module that makes use of this interrupt.
Diffstat (limited to 'arch/x86/machine/cpu.c')
-rw-r--r-- | arch/x86/machine/cpu.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/x86/machine/cpu.c b/arch/x86/machine/cpu.c index 2a500cb1..f07e6d1a 100644 --- a/arch/x86/machine/cpu.c +++ b/arch/x86/machine/cpu.c @@ -599,6 +599,16 @@ cpu_halt_intr(struct trap_frame *frame) } void +cpu_thread_schedule_intr(struct trap_frame *frame) +{ + (void)frame; + + lapic_eoi(); + + /* Let the return from interrupt code invoke the scheduler */ +} + +void cpu_llsync_reset_intr(struct trap_frame *frame) { (void)frame; |