---
name: "irq_set_affinity_notifier"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/irq_set_affinity_notifier"
---

# irq\_set\_affinity\_notifier(9)

control notification of IRQ affinity changes

## NAME

irq\_set\_affinity\_notifier - control notification of IRQ affinity changes

## SYNOPSIS

**int irq\_set\_affinity\_notifier(unsigned int** *irq***, struct irq\_affinity\_notify \*** *notify***);**

## ARGUMENTS

*irq*

Interrupt for which to enable/disable notification

*notify*

Context for notification, or **NULL** to disable notification. Function pointers must be initialised; the other fields will be initialised by this function.

## DESCRIPTION

Must be called in process context. Notification may only be enabled after the IRQ is allocated and must be disabled before the IRQ is freed using **free\_irq**.

## AUTHORS

**Thomas Gleixner** \<tglx@linutronix.de\>

Author.

**Ingo Molnar** \<mingo@elte.hu\>

Author.

## COPYRIGHT
