---
name: "init_copy_desc_masks"
section: "9"
platform: "linux"
package: "linux-manual-2.6.32"
version: "2.6.32-48squeeze6"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/init_copy_desc_masks"
---

# init\_copy\_desc\_masks(9)

copy cpumasks for irq\_desc

## NAME

init\_copy\_desc\_masks - copy cpumasks for irq\_desc

## SYNOPSIS

**void init\_copy\_desc\_masks(struct irq\_desc \*** *old\_desc***, struct irq\_desc \*** *new\_desc***);**

## ARGUMENTS

*old\_desc*

pointer to old irq\_desc struct

*new\_desc*

pointer to new irq\_desc struct

## DESCRIPTION

Insures affinity and pending\_masks are copied to new irq\_desc. If !CONFIG\_CPUMASKS\_OFFSTACK the cpumasks are embedded in the irq\_desc struct so the copy is redundant.

## AUTHORS

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

Author.

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

Author.

## COPYRIGHT
