Function linuxcnc_hal_sys::rtapi_irq_delete
source · Expand description
‘rtapi_free_interrupt_handler()’ removes an interrupt handler that was previously installed by rtapi_assign_interrupt_handler(). ‘irq’ is the interrupt number. Removing a realtime module without freeing any handlers it has installed will almost certainly crash the box. Returns 0 or -EINVAL. Call only from within init/cleanup code, not from realtime tasks.