From: David van Moolenbroek Date: Tue, 9 Feb 2010 08:07:47 +0000 (+0000) Subject: Kernel: fix sys_irqctl(IRQ_RMPOLICY) X-Git-Tag: v3.1.7~307 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/host.html?a=commitdiff_plain;h=f029b0e0b19a74d6c34a7c270f4e637fe582a0fc;p=minix.git Kernel: fix sys_irqctl(IRQ_RMPOLICY) --- diff --git a/kernel/system/do_irqctl.c b/kernel/system/do_irqctl.c index 36c0a0e36..75f31c39b 100644 --- a/kernel/system/do_irqctl.c +++ b/kernel/system/do_irqctl.c @@ -116,6 +116,7 @@ PUBLIC int do_irqctl(struct proc * caller, message * m_ptr) } /* Remove the handler and return. */ rm_irq_handler(&irq_hooks[irq_hook_id]); + irq_hooks[irq_hook_id].proc_nr_e = NONE; break; default: