xics.h (23f66e2d661b4d3226d16e25910a9e9472ce2410) | xics.h (d6a4f70909d279004a2b3d539e240e07b1ecc1cb) |
---|---|
1/* 2 * Common definitions accross all variants of ICP and ICS interrupt 3 * controllers. 4 */ 5 6#ifndef _XICS_H 7#define _XICS_H 8 --- 15 unchanged lines hidden (view full) --- 24#define LOWEST_PRIORITY 0xFF 25 26/* The number of priorities defined above */ 27#define MAX_NUM_PRIORITIES 3 28 29/* Native ICP */ 30#ifdef CONFIG_PPC_ICP_NATIVE 31extern int icp_native_init(void); | 1/* 2 * Common definitions accross all variants of ICP and ICS interrupt 3 * controllers. 4 */ 5 6#ifndef _XICS_H 7#define _XICS_H 8 --- 15 unchanged lines hidden (view full) --- 24#define LOWEST_PRIORITY 0xFF 25 26/* The number of priorities defined above */ 27#define MAX_NUM_PRIORITIES 3 28 29/* Native ICP */ 30#ifdef CONFIG_PPC_ICP_NATIVE 31extern int icp_native_init(void); |
32extern void icp_native_flush_interrupt(void); |
|
32#else 33static inline int icp_native_init(void) { return -ENODEV; } 34#endif 35 36/* PAPR ICP */ 37#ifdef CONFIG_PPC_ICP_HV 38extern int icp_hv_init(void); 39#else --- 123 unchanged lines hidden --- | 33#else 34static inline int icp_native_init(void) { return -ENODEV; } 35#endif 36 37/* PAPR ICP */ 38#ifdef CONFIG_PPC_ICP_HV 39extern int icp_hv_init(void); 40#else --- 123 unchanged lines hidden --- |