Name

struct irq_affinity_notify — context for notification of IRQ affinity changes

Synopsis

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);
};  

Members

irq

Interrupt to which notification applies

kref

Reference count, for internal use

swork

Swork item, for internal use

work

Work item, for internal use

notify

Function to be called on change. This will be called in process context.

release

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.