From 19f76e91c64bd533ef9ba1926806f9c266eb9a96 Mon Sep 17 00:00:00 2001 From: Alex Ionescu Date: Mon, 15 Aug 2005 22:44:32 +0000 Subject: [PATCH] - Remove the APC from the list and then set it as not inserted, instead of backwards. svn path=/trunk/; revision=17407 --- reactos/ntoskrnl/ke/apc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);