From: Alex Ionescu Date: Mon, 15 Aug 2005 22:44:32 +0000 (+0000) Subject: - Remove the APC from the list and then set it as not inserted, instead of backwards. X-Git-Tag: ReactOS-0.2.8~992 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=19f76e91c64bd533ef9ba1926806f9c266eb9a96 - Remove the APC from the list and then set it as not inserted, instead of backwards. svn path=/trunk/; revision=17407 --- diff --git a/reactos/ntoskrnl/ke/apc.c b/reactos/ntoskrnl/ke/apc.c index ef5e42503f5..ec6fcf015ab 100644 --- a/reactos/ntoskrnl/ke/apc.c +++ b/reactos/ntoskrnl/ke/apc.c @@ -674,8 +674,8 @@ KiDeliverApc(KPROCESSOR_MODE DeliveryMode, } /* Dequeue the APC */ - Apc->Inserted = FALSE; RemoveEntryList(ApcListEntry); + Apc->Inserted = FALSE; /* Go back to APC_LEVEL */ KeReleaseSpinLock(&Thread->ApcQueueLock, OldIrql);