-/* $Id: irq.c,v 1.17 2002/02/15 14:47:04 ekohl Exp $
+/* $Id: irq.c,v 1.18 2002/04/20 03:21:35 phreak Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
* If the processor level will drop below dispatch level on return then
* issue a DPC queue drain interrupt
*/
+
+ __asm__("sti\n\t");
+
if (old_level < DISPATCH_LEVEL)
{
HalEndSystemInterrupt (DISPATCH_LEVEL, 0);
- __asm__("sti\n\t");
if (KeGetCurrentThread() != NULL)
{
* If the processor level will drop below dispatch level on return then
* issue a DPC queue drain interrupt
*/
+ __asm__("sti\n\t");
+
if (old_level < DISPATCH_LEVEL)
{
HalEndSystemInterrupt (DISPATCH_LEVEL, 0);
- __asm__("sti\n\t");
if (KeGetCurrentThread() != NULL)
{