mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[NTOS] Fix boot on UP build - PrcbLocks are not used on UP (#6391)
On the uniprocessor kernel KiAcquirePrcbLock is a stub that doesn't modify the current Prcb's PrcbLock value. Quickly protect this assert around CONFIG_SMP
This commit is contained in:
parent
ab528ac6ae
commit
748a2e1655
1 changed files with 2 additions and 0 deletions
|
@ -1359,7 +1359,9 @@ KxQueueReadyThread(IN PKTHREAD Thread,
|
|||
|
||||
/* Sanity checks */
|
||||
ASSERT(Prcb == KeGetCurrentPrcb());
|
||||
#ifdef CONFIG_SMP
|
||||
ASSERT(Prcb->PrcbLock != 0);
|
||||
#endif
|
||||
ASSERT(Thread->State == Running);
|
||||
ASSERT(Thread->NextProcessor == Prcb->Number);
|
||||
|
||||
|
|
Loading…
Reference in a new issue