| #ifndef __ASM_GENERIC_MSI_H |
| #define __ASM_GENERIC_MSI_H |
| #ifndef NUM_MSI_ALLOC_SCRATCHPAD_REGS |
| # define NUM_MSI_ALLOC_SCRATCHPAD_REGS 2 |
| * struct msi_alloc_info - Default structure for MSI interrupt allocation. |
| * @desc: Pointer to msi descriptor |
| * @hwirq: Associated hw interrupt number in the domain |
| * @scratchpad: Storage for implementation specific scratch data |
| * Architectures can provide their own implementation by not including |
| * asm-generic/msi.h into their arch specific header file. |
| typedef struct msi_alloc_info { |
| } scratchpad[NUM_MSI_ALLOC_SCRATCHPAD_REGS]; |
| #define GENERIC_MSI_DOMAIN_OPS 1 |