25 #include <linux/signal.h>
29 #include <linux/random.h>
33 #include <linux/errno.h>
34 #include <linux/list.h>
37 #include <linux/export.h>
39 #include <asm/exception.h>
66 struct pt_regs *old_regs = set_irq_regs(regs);
75 if (printk_ratelimit())
83 set_irq_regs(old_regs);
120 #ifdef CONFIG_SPARSE_IRQ
128 #ifdef CONFIG_HOTPLUG_CPU
132 struct irq_data *
d = irq_desc_get_irq_data(desc);
149 c = irq_data_get_irq_chip(d);
151 pr_debug(
"IRQ%u: unable to set affinity\n", d->
irq);
153 cpumask_copy(d->
affinity, affinity);
175 bool affinity_broken;
178 affinity_broken = migrate_one_irq(desc);
181 if (affinity_broken && printk_ratelimit())
182 pr_warning(
"IRQ%u no longer affine to CPU%u\n", i,