mirror of
https://github.com/reactos/reactos.git
synced 2024-11-30 23:13:31 +08:00
[NTOS] Set SwapBusy properly for i386
Co-authored-by: Hermès BÉLUSCA - MAÏTO <hermes.belusca-maito@reactos.org>
This commit is contained in:
parent
2a33aed7cf
commit
24d124f99f
@ -427,6 +427,9 @@ KiSwapContextEntry(IN PKSWITCHFRAME SwitchFrame,
|
||||
/* Get the old thread and set its kernel stack */
|
||||
OldThread->KernelStack = SwitchFrame;
|
||||
|
||||
/* Set swapbusy to false for the new thread */
|
||||
NewThread->SwapBusy = FALSE;
|
||||
|
||||
/* ISRs can change FPU state, so disable interrupts while checking */
|
||||
_disable();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user