xics.h (f26e8817b235d8764363bffcc9cbfc61867371f2) | xics.h (9b256714979fad61ae11d90b53cf67dd5e6484eb) |
---|---|
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 --- 30 unchanged lines hidden (view full) --- 39#ifdef CONFIG_PPC_ICP_HV 40extern int icp_hv_init(void); 41#else 42static inline int icp_hv_init(void) { return -ENODEV; } 43#endif 44 45#ifdef CONFIG_PPC_POWERNV 46extern int icp_opal_init(void); | 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 --- 30 unchanged lines hidden (view full) --- 39#ifdef CONFIG_PPC_ICP_HV 40extern int icp_hv_init(void); 41#else 42static inline int icp_hv_init(void) { return -ENODEV; } 43#endif 44 45#ifdef CONFIG_PPC_POWERNV 46extern int icp_opal_init(void); |
47extern void icp_opal_flush_interrupt(void); |
|
47#else 48static inline int icp_opal_init(void) { return -ENODEV; } 49#endif 50 51/* ICP ops */ 52struct icp_ops { 53 unsigned int (*get_irq)(void); 54 void (*eoi)(struct irq_data *d); --- 118 unchanged lines hidden --- | 48#else 49static inline int icp_opal_init(void) { return -ENODEV; } 50#endif 51 52/* ICP ops */ 53struct icp_ops { 54 unsigned int (*get_irq)(void); 55 void (*eoi)(struct irq_data *d); --- 118 unchanged lines hidden --- |