KefReleaseSpinLockFromDpcLevel needs the address of a spinlock and not its value.
authorHartmut Birr <osexpert@googlemail.com>
Thu, 5 Jan 2006 12:48:33 +0000 (12:48 +0000)
committerHartmut Birr <osexpert@googlemail.com>
Thu, 5 Jan 2006 12:48:33 +0000 (12:48 +0000)
svn path=/trunk/; revision=20572

reactos/ntoskrnl/ke/i386/ctxswitch.S

index 3192531..bf745a2 100644 (file)
@@ -247,7 +247,7 @@ SameProcess:
 
     /* Return */
 //#ifdef CONFIG_SMP
-    mov ecx, _DispatcherDatabaseLock
+    mov ecx, offset _DispatcherDatabaseLock
     call @KefReleaseSpinLockFromDpcLevel@4
 //#endif
     ret