ics-rtas.c (e5451c8f8330e03ad3cfa16048b4daf961af434f) ics-rtas.c (880a3d6afd068682d6386a0528be1217541d3d8e)
1#include <linux/types.h>
2#include <linux/kernel.h>
3#include <linux/irq.h>
4#include <linux/smp.h>
5#include <linux/interrupt.h>
6#include <linux/init.h>
7#include <linux/cpu.h>
8#include <linux/of.h>

--- 149 unchanged lines hidden (view full) ---

158}
159
160static struct irq_chip ics_rtas_irq_chip = {
161 .name = "XICS",
162 .irq_startup = ics_rtas_startup,
163 .irq_mask = ics_rtas_mask_irq,
164 .irq_unmask = ics_rtas_unmask_irq,
165 .irq_eoi = NULL, /* Patched at init time */
1#include <linux/types.h>
2#include <linux/kernel.h>
3#include <linux/irq.h>
4#include <linux/smp.h>
5#include <linux/interrupt.h>
6#include <linux/init.h>
7#include <linux/cpu.h>
8#include <linux/of.h>

--- 149 unchanged lines hidden (view full) ---

158}
159
160static struct irq_chip ics_rtas_irq_chip = {
161 .name = "XICS",
162 .irq_startup = ics_rtas_startup,
163 .irq_mask = ics_rtas_mask_irq,
164 .irq_unmask = ics_rtas_unmask_irq,
165 .irq_eoi = NULL, /* Patched at init time */
166 .irq_set_affinity = ics_rtas_set_affinity
166 .irq_set_affinity = ics_rtas_set_affinity,
167 .irq_set_type = xics_set_irq_type,
168 .irq_retrigger = xics_retrigger,
167};
168
169static int ics_rtas_map(struct ics *ics, unsigned int virq)
170{
171 unsigned int hw_irq = (unsigned int)virq_to_hw(virq);
172 int status[2];
173 int rc;
174

--- 63 unchanged lines hidden ---
169};
170
171static int ics_rtas_map(struct ics *ics, unsigned int virq)
172{
173 unsigned int hw_irq = (unsigned int)virq_to_hw(virq);
174 int status[2];
175 int rc;
176

--- 63 unchanged lines hidden ---