struct irq_affinity_notify — context for notification of IRQ affinity changes
struct irq_affinity_notify { unsigned int irq; struct kref kref; #ifdef CONFIG_PREEMPT_RT_BASE struct swork_event swork; #else struct work_struct work; #endif void (* notify) (struct irq_affinity_notify *, const cpumask_t *mask); void (* release) (struct kref *ref); };
Interrupt to which notification applies
Reference count, for internal use
Swork item, for internal use
Work item, for internal use
Function to be called on change. This will be called in process context.
Function to be called on release. This will be called in process context. Once registered, the structure must only be freed when this function is called or later.