/* INCLUDES *****************************************************************/
+#include <roscfg.h>
#include <ddk/ntddk.h>
#include <bus.h>
+#ifdef MP
+#include <mps.h>
+#endif
/* FUNCTIONS ****************************************************************/
PKIRQL Irql,
PKAFFINITY Affinity)
{
- *Irql = PROFILE_LEVEL - BusInterruptVector;
- *Affinity = 0xFFFFFFFF;
- return BusInterruptVector;
+#ifdef MP
+ *Irql = PROFILE_LEVEL - BusInterruptVector;
+ *Affinity = 0xFFFFFFFF;
+ return IRQ2VECTOR(BusInterruptVector);
+#else
+ *Irql = PROFILE_LEVEL - BusInterruptVector;
+ *Affinity = 0xFFFFFFFF;
+ return BusInterruptVector;
+#endif
}