summaryrefslogtreecommitdiff
path: root/packages/linux/linux-2.6.18/add-intc_pending_irq-to-intc.patch
blob: 6d99de84b1d77e621fe01a30ece6852039449c6b (plain)
1
2
3
4
5
6
7
8
9
10
--- linux-2.6.18.orig/arch/avr32/mach-at32ap/intc.c	2006-11-06 14:36:50.000000000 +0100
+++ linux-2.6.18/arch/avr32/mach-at32ap/intc.c	2006-11-06 15:09:39.000000000 +0100
@@ -131,3 +131,7 @@
 	panic("Interrupt controller initialization failed!\n");
 }
 
+unsigned long intc_get_pending(int group)
+{
+	return intc_readl(&intc0, INTREQ0 + 4 * group);
+}