- Temporarily revert my last change. We don't set the SystemThread flag appropriately and it is always zero

svn path=/trunk/; revision=35294
This commit is contained in:
Stefan Ginsberg 2008-08-12 22:22:51 +00:00
parent 2517d40711
commit bd974a9e1c

View file

@ -1086,7 +1086,7 @@ PsTerminateSystemThread(IN NTSTATUS ExitStatus)
PETHREAD Thread = PsGetCurrentThread();
/* Make sure this is a system thread */
if (!Thread->SystemThread) return STATUS_INVALID_PARAMETER;
if (Thread->SystemThread) return STATUS_INVALID_PARAMETER;
/* Terminate it for real */
return PspTerminateThreadByPointer(Thread, ExitStatus, TRUE);