IRQ_GET_IRQCHIP_STAT(9)

NAME
irq_get_irqchip_state - returns the irqchip state of a interrupt.

SYNOPSIS

int irq_get_irqchip_state(unsigned int irq, enum irqchip_irq_state which, bool * state);

ARGUMENTS

irq
    Interrupt line that is forwarded to a VM

which
    One of IRQCHIP_STATE_* the caller wants to know about

state
    a pointer to a boolean where the state is to be storeed

DESCRIPTION

This call snapshots the internal irqchip state of an interrupt, returning into state the bit corresponding to stage which

This function should be called with preemption disabled if the interrupt controller has per-cpu registers.

AUTHORS

Thomas Gleixner <tglx@linutronix.de>
    Author.

Ingo Molnar <mingo@elte.hu>
    Author.

COPYRIGHT