Avoid infinite loop

svn path=/trunk/; revision=6528
This commit is contained in:
Gé van Geldorp 2003-11-04 21:36:22 +00:00
parent 68808ed299
commit f1259f48fe

View file

@ -1,4 +1,4 @@
/* $Id: irql.c,v 1.10 2003/07/21 21:53:50 royce Exp $ /* $Id: irql.c,v 1.11 2003/11/04 21:36:22 gvg Exp $
* *
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel * PROJECT: ReactOS kernel
@ -140,8 +140,8 @@ HalpExecuteIrqs(KIRQL NewIrql)
/* /*
* For each deferred interrupt execute all the handlers at DIRQL. * For each deferred interrupt execute all the handlers at DIRQL.
*/ */
KiInterruptDispatch2(i, NewIrql);
HalpPendingInterruptCount[i]--; HalpPendingInterruptCount[i]--;
KiInterruptDispatch2(i, NewIrql);
} }
CurrentIrql--; CurrentIrql--;
HalpEndSystemInterrupt(CurrentIrql); HalpEndSystemInterrupt(CurrentIrql);