Re: [Patch V3 6/9] genirq: Introduce msi_domain_{alloc|free}_irqs()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 17 Nov 2014, Jiang Liu wrote:
> +
> +/*
> + * Default structure for MSI interrupt allocation.
> + * Arch may overwrite it by defining msi_alloc_info_t.
> + */
> +struct msi_alloc_info {
> +	struct msi_desc			*desc;
> +	irq_hw_number_t			hwirq;
> +	union {
> +		unsigned long		ul;
> +		void			*ptr;
> +	} scratchpad[NUM_MSI_ALLOC_SCRATCHPAD_REGS];
> +};
> +
> +#ifndef msi_alloc_info_t
> +typedef struct msi_alloc_info msi_alloc_info_t;
> +#endif

Hmm. Do we really need that?

Thanks,

	tglx
--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux