[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-devel] [PATCH for-4.5 7/8] xen/irq: Handle multiple action per IRQ
On 03/18/2014 03:02 PM, Ian Campbell wrote:
>> int num_irqs = dt_number_of_irq(smmu->node);
>
> assert(num_irqs == 2) here and the rest gets a lot simpler. The maximum
> is a property of the hardware I think, so the driver is allowed to make
> such assumptions.
I know it would be easier ... but you can't assume that num_irqs == 2 :).
The number is not determined.
--
Julien Grall
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|