/* Mask an interrupt. */ static void tile_irq_chip_mask(struct irq_data *d) { mask_irqs(1UL << d->irq); }
/* * Add an irq to the disabled mask. We disable the HW interrupt * immediately so that there's no possibility of it firing. If we're * in an interrupt context, the return path is careful to avoid * unmasking a newly disabled interrupt. */ static void tile_irq_chip_disable(struct irq_data *d) { get_cpu_var(irq_disable_mask) |= (1UL << d->irq); mask_irqs(1UL << d->irq); put_cpu_var(irq_disable_mask); }
/* * Add an irq to the disabled mask. We disable the HW interrupt * immediately so that there's no possibility of it firing. If we're * in an interrupt context, the return path is careful to avoid * unmasking a newly disabled interrupt. */ void disable_percpu_irq(unsigned int irq) { get_cpu_var(irq_disable_mask) |= (1UL << irq); mask_irqs(1UL << irq); put_cpu_var(irq_disable_mask); }
/* Mask an interrupt. */ static void tile_irq_chip_mask(unsigned int irq) { mask_irqs(1UL << irq); }