init_copy_desc_masks

Langue: en

Version: October 2010 (fedora - 01/12/10)

Section: 9 (Appels noyau Linux)

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.