X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=reactos%2Fntoskrnl%2Fke%2Fi386%2Fctxswitch.S;h=31925312130bbf4fef614128e22117b402df47e1;hp=f8de2f05c1eed153affaab7efc16b0d94a238d8e;hb=5e6fa262314c5122f9c9c762364669afb22745e6;hpb=f58996b3e9a4bb48efbe6a6b6e751dcf9b3b1f89 diff --git a/reactos/ntoskrnl/ke/i386/ctxswitch.S b/reactos/ntoskrnl/ke/i386/ctxswitch.S index f8de2f05c1e..31925312130 100644 --- a/reactos/ntoskrnl/ke/i386/ctxswitch.S +++ b/reactos/ntoskrnl/ke/i386/ctxswitch.S @@ -21,6 +21,8 @@ /* GLOBALS ****************************************************************/ +.extern _DispatcherDatabaseLock + /* FUNCTIONS ****************************************************************/ /*++ @@ -244,7 +246,10 @@ SameProcess: pop [ebx+KPCR_EXCEPTION_LIST] /* Return */ - call @KeReleaseDispatcherDatabaseLockFromDpcLevel@0 +//#ifdef CONFIG_SMP + mov ecx, _DispatcherDatabaseLock + call @KefReleaseSpinLockFromDpcLevel@4 +//#endif ret /*++