Thread (181 messages) 181 messages, 8 authors, 2009-11-28

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

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2009-11-26 05:23:48

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help