xics.h (3a37471551cd3b287ce7f02ed25bcf8ec37a191d) xics.h (b866cc2199d6a6cdcefe4acfe4cfca3ac3c6d38e)
1/*
2 * Common definitions across all variants of ICP and ICS interrupt
3 * controllers.
4 */
5
6#ifndef _XICS_H
7#define _XICS_H
8

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

52/* ICP ops */
53struct icp_ops {
54 unsigned int (*get_irq)(void);
55 void (*eoi)(struct irq_data *d);
56 void (*set_priority)(unsigned char prio);
57 void (*teardown_cpu)(void);
58 void (*flush_ipi)(void);
59#ifdef CONFIG_SMP
1/*
2 * Common definitions across all variants of ICP and ICS interrupt
3 * controllers.
4 */
5
6#ifndef _XICS_H
7#define _XICS_H
8

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

52/* ICP ops */
53struct icp_ops {
54 unsigned int (*get_irq)(void);
55 void (*eoi)(struct irq_data *d);
56 void (*set_priority)(unsigned char prio);
57 void (*teardown_cpu)(void);
58 void (*flush_ipi)(void);
59#ifdef CONFIG_SMP
60 void (*cause_ipi)(int cpu, unsigned long data);
60 void (*cause_ipi)(int cpu);
61 irq_handler_t ipi_action;
62#endif
63};
64
65extern const struct icp_ops *icp_ops;
66
67/* Native ICS */
68extern int ics_native_init(void);

--- 105 unchanged lines hidden ---
61 irq_handler_t ipi_action;
62#endif
63};
64
65extern const struct icp_ops *icp_ops;
66
67/* Native ICS */
68extern int ics_native_init(void);

--- 105 unchanged lines hidden ---