--- trunk/reactos/drivers/bus/acpi/ospm/osl.c 2005-01-25 05:11:17 UTC (rev 13267)
+++ trunk/reactos/drivers/bus/acpi/ospm/osl.c 2005-01-25 05:38:01 UTC (rev 13268)
@@ -219,6 +219,11 @@
&DIrql,
&Affinity);
+ AcpiIrqNumber = irq;
+ AcpiIrqHandler = handler;
+ AcpiIrqContext = context;
+ AcpiInterruptHandlerRegistered = TRUE;
+
Status = IoConnectInterrupt(
&AcpiInterrupt,
OslIsrStub,
@@ -236,11 +241,6 @@
return AE_ERROR;
}
- AcpiIrqNumber = irq;
- AcpiIrqHandler = handler;
- AcpiIrqContext = context;
- AcpiInterruptHandlerRegistered = TRUE;
-
return AE_OK;
}