From 6b6b4231c2ad1a02a1b999f1a6906b80814e7459 Mon Sep 17 00:00:00 2001 From: Justin Miller Date: Sat, 24 Feb 2024 02:33:15 -0800 Subject: [PATCH] do a little trolling --- ntoskrnl/ex/init.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ntoskrnl/ex/init.c b/ntoskrnl/ex/init.c index 433a635d7d2a2..8101c0954047a 100644 --- a/ntoskrnl/ex/init.c +++ b/ntoskrnl/ex/init.c @@ -1565,6 +1565,8 @@ Phase1InitializationDiscard(IN PVOID Context) #ifdef CONFIG_SMP /* Start Application Processors */ KeStartAllProcessors(); + + KeSetAffinityProcess(&PsInitialSystemProcess->Pcb, KeActiveProcessors); #endif /* Initialize all processors */