[RFC PATCH 16/19] powerpc: wii: hollywood interrupt controller support

Benjamin Herrenschmidt benh at kernel.crashing.org
Thu Nov 26 16:23:42 EST 2009


On Sun, 2009-11-22 at 23:01 +0100, Albert Herranz wrote:

> +static void hlwd_pic_mask_and_ack(unsigned int virq)
> +{
> +	int irq = virq_to_hw(virq);
> +	void __iomem *io_base = get_irq_chip_data(virq);
> +
> +	clear_bit(irq, io_base + HW_BROADWAY_IMR);
> +	set_bit(irq, io_base + HW_BROADWAY_ICR);
> +}

Same comment as with flipper. BTW. It looks really similar, can't you
use the same driver ?

Cheers,
Ben.




More information about the Linuxppc-dev mailing list