mirror of
https://github.com/reactos/reactos.git
synced 2026-06-01 00:40:26 +08: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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user