---
name: "irq_force_affinity"
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_force_affinity"
---

# irq\_force\_affinity(9)

Force the irq affinity of a given irq

## NAME

irq\_force\_affinity - Force the irq affinity of a given irq

## SYNOPSIS

**int irq\_force\_affinity(unsigned int** *irq***, const struct cpumask \*** *cpumask***);**

## ARGUMENTS

*irq*

Interrupt to set affinity

*cpumask*

cpumask

## DESCRIPTION

Same as irq\_set\_affinity, but without checking the mask against online cpus.

Solely for low level cpu hotplug code, where we need to make per cpu interrupts affine before the cpu becomes online.

## AUTHORS

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

Author.

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

Author.

## COPYRIGHT
