]> Zhao Yanbai Git Server - minix.git/commitdiff
Kernel: fix sys_irqctl(IRQ_RMPOLICY)
authorDavid van Moolenbroek <david@minix3.org>
Tue, 9 Feb 2010 08:07:47 +0000 (08:07 +0000)
committerDavid van Moolenbroek <david@minix3.org>
Tue, 9 Feb 2010 08:07:47 +0000 (08:07 +0000)
kernel/system/do_irqctl.c

index 36c0a0e36aa2a555959b8be718ec3c11cdd6754a..75f31c39bc053da2ccd706ebb240843f9be3ae97 100644 (file)
@@ -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: