Title: [4161] trunk/arch/blackfin/mach-common/ints-priority.c: [#2424]
Revision
4161
Author
hennerich
Date
2008-01-29 02:43:24 -0600 (Tue, 29 Jan 2008)

Log Message

[#2424]
* Add init_exception_buff() Not sure why this used to be only in
* ints-priority-dc
* Simplify 

Diffstat

 ints-priority.c |   12 +++++-------
 1 files changed, 5 insertions(+), 7 deletions(-)

Modified Paths

Diff

Modified: trunk/arch/blackfin/mach-common/ints-priority.c (4160 => 4161)


--- trunk/arch/blackfin/mach-common/ints-priority.c	2008-01-29 08:27:11 UTC (rev 4160)
+++ trunk/arch/blackfin/mach-common/ints-priority.c	2008-01-29 08:43:24 UTC (rev 4161)
@@ -774,11 +774,10 @@
 };
 
 static void bfin_demux_gpio_irq(unsigned int inta_irq,
-				struct irq_desc *inta_desc)
+				struct irq_desc *desc)
 {
 	u8 bank, pint_val;
 	u32 request, irq;
-	struct irq_desc *desc;
 
 	switch (inta_irq) {
 	case IRQ_PINT0:
@@ -864,6 +863,8 @@
 
 	local_irq_disable();
 
+	init_exception_buff();
+
 #ifdef CONFIG_BF54x
 # ifdef CONFIG_PINTx_REASSIGN
 	pint[0]->assign = CONFIG_PINT0_ASSIGN;
@@ -958,11 +959,8 @@
 	}
 #endif
 
-#ifndef CONFIG_BF54x
-	for (irq = IRQ_PF0; irq < NR_IRQS; irq++) {
-#else
-	for (irq = IRQ_PA0; irq < NR_IRQS; irq++) {
-#endif
+	for (irq = GPIO_IRQ_BASE; irq < NR_IRQS; irq++) {
+
 		set_irq_chip(irq, &bfin_gpio_irqchip);
 		/* if configured as edge, then will be changed to do_edge_IRQ */
 		set_irq_handler(irq, handle_level_irq);
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
http://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to