20 #include <linux/slab.h>
23 #include <linux/module.h>
30 #include <asm/special_insns.h>
45 static void unmask_core_irq(
struct irq_data *data)
47 unsigned int prio = data->
hwirq;
56 .irq_mask = mask_core_irq,
57 .irq_unmask = unmask_core_irq,
64 struct pt_regs *old_regs = set_irq_regs(regs);
72 set_irq_regs(old_regs);
77 static int core_domain_map(
struct irq_domain *
h,
unsigned int virq,
83 prio_to_virq[
hw] = virq;
91 .map = core_domain_map,
106 &core_domain_ops,
NULL);