git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Kernel - Fixed bug in x86/proc.c (caused early task preemption)
[tpg/acess2.git]
/
KernelLand
/
Kernel
/
arch
/
x86
/
proc.c
diff --git
a/KernelLand/Kernel/arch/x86/proc.c
b/KernelLand/Kernel/arch/x86/proc.c
index
fb6b52d
..
aef7278
100644
(file)
--- a/
KernelLand/Kernel/arch/x86/proc.c
+++ b/
KernelLand/Kernel/arch/x86/proc.c
@@
-986,7
+986,6
@@
void Proc_Scheduler(int CPU)
outb(0x20, 0x20);
__asm__ __volatile__ ("sti");
- gaCPUs[CPU].LastTimerThread = gaCPUs[CPU].Current;
// Call the timer update code
Timer_CallTimers();
@@
-995,6
+994,8
@@
void Proc_Scheduler(int CPU)
{
Proc_Reschedule();
}
+
+ gaCPUs[CPU].LastTimerThread = gaCPUs[CPU].Current;
}
// === EXPORTS ===
UCC
git Repository :: git.ucc.asn.au