manage.c (2fc2991175bf77395e6b15fe6b2304d3bf72da40) | manage.c (1e5d533142c1c178a31d4cc81837eb078f9269bc) |
---|---|
1/* 2 * linux/kernel/irq/manage.c 3 * 4 * Copyright (C) 1992, 1998-2004 Linus Torvalds, Ingo Molnar 5 * 6 * This file contains driver APIs to the irq subsystem. 7 */ 8 --- 10 unchanged lines hidden (view full) --- 19cpumask_t irq_affinity[NR_IRQS] = { [0 ... NR_IRQS-1] = CPU_MASK_ALL }; 20 21#if defined (CONFIG_GENERIC_PENDING_IRQ) || defined (CONFIG_IRQBALANCE) 22cpumask_t __cacheline_aligned pending_irq_cpumask[NR_IRQS]; 23#endif 24 25/** 26 * synchronize_irq - wait for pending IRQ handlers (on other CPUs) | 1/* 2 * linux/kernel/irq/manage.c 3 * 4 * Copyright (C) 1992, 1998-2004 Linus Torvalds, Ingo Molnar 5 * 6 * This file contains driver APIs to the irq subsystem. 7 */ 8 --- 10 unchanged lines hidden (view full) --- 19cpumask_t irq_affinity[NR_IRQS] = { [0 ... NR_IRQS-1] = CPU_MASK_ALL }; 20 21#if defined (CONFIG_GENERIC_PENDING_IRQ) || defined (CONFIG_IRQBALANCE) 22cpumask_t __cacheline_aligned pending_irq_cpumask[NR_IRQS]; 23#endif 24 25/** 26 * synchronize_irq - wait for pending IRQ handlers (on other CPUs) |
27 * @irq: interrupt number to wait for |
|
27 * 28 * This function waits for any pending IRQ handlers for this interrupt 29 * to complete before returning. If you use this function while 30 * holding a resource the IRQ handler may need you will deadlock. 31 * 32 * This function may be called - with care - from IRQ context. 33 */ 34void synchronize_irq(unsigned int irq) --- 327 unchanged lines hidden --- | 28 * 29 * This function waits for any pending IRQ handlers for this interrupt 30 * to complete before returning. If you use this function while 31 * holding a resource the IRQ handler may need you will deadlock. 32 * 33 * This function may be called - with care - from IRQ context. 34 */ 35void synchronize_irq(unsigned int irq) --- 327 unchanged lines hidden --- |