Re: [PATCH 10/14] irqchip/mips-gic: Add a IPI hierarchy domain

From: Qais Yousef
Date: Tue Nov 17 2015 - 05:24:45 EST


On 11/16/2015 05:24 PM, Thomas Gleixner wrote:

int ipi_get_hw_irq(int irq)
{
struct irq_data *d = irq_get_irq_data(irq);
return d ? irqd_to_hwirq(d);
}
Hmm?


We need cpu as an argument too.

Taking your other comments into account and ignoring the random mapping space for now. I think I can expand that to do the right thing for when the IPI domain is per cpu or consecutive.

Thanks,
Qais
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/