error("Msg SIG_STOP Couldn't get IRQ");
}
/* remove the policy */
- if (sys_irqrmpolicy(irq, &irq_hook_id) != OK) {
+ if (sys_irqrmpolicy(&irq_hook_id) != OK) {
error("%s: Could not disable IRQ\n",drv.DriverName);
}
}
sys_irqctl(IRQ_ENABLE, 0, 0, hook_id)
#define sys_irqsetpolicy(irq_vec, policy, hook_id) \
sys_irqctl(IRQ_SETPOLICY, irq_vec, policy, hook_id)
-#define sys_irqrmpolicy(irq_vec, hook_id) \
- sys_irqctl(IRQ_RMPOLICY, irq_vec, 0, hook_id)
+#define sys_irqrmpolicy(hook_id) \
+ sys_irqctl(IRQ_RMPOLICY, 0, 0, hook_id)
_PROTOTYPE ( int sys_irqctl, (int request, int irq_vec, int policy,
int *irq_hook_id) );