Handle swapgs in interrupts and scheduling
All checks were successful
Build documentation / build-and-deploy (push) Successful in 29s
All checks were successful
Build documentation / build-and-deploy (push) Successful in 29s
This commit is contained in:
@@ -17,7 +17,9 @@
|
||||
#include <sys/smp.h>
|
||||
|
||||
#if defined(__x86_64__)
|
||||
#include <amd64/intr_defs.h>
|
||||
#include <amd64/intr_defs.h>
|
||||
#include <amd64/msr.h>
|
||||
#include <amd64/msr-index.h>
|
||||
#endif
|
||||
|
||||
struct elf_aux {
|
||||
@@ -216,9 +218,8 @@ void proc_sched (void) {
|
||||
|
||||
next = proc_find_sched ();
|
||||
|
||||
if (next != NULL) {
|
||||
if (next != NULL)
|
||||
thiscpu->proc_current = next;
|
||||
}
|
||||
|
||||
spin_unlock (&thiscpu->lock);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user