[AVR32] Implement intc_get_pending()
authorHaavard Skinnemoen <hskinnemoen@atmel.com>
Fri, 8 Dec 2006 10:04:19 +0000 (11:04 +0100)
committerHaavard Skinnemoen <hskinnemoen@atmel.com>
Fri, 8 Dec 2006 12:08:10 +0000 (13:08 +0100)
commit695621183ee10eb22352bb919f50e160fa37aaa1
tree31a1edebdbebb42195a7e98c96c7faf37b719ba9
parentacc9252a36dcefbcdae12f88566300a80d925e11
[AVR32] Implement intc_get_pending()

intc_get_pending() returns a bitmask with pending interrupts in a
interrupt controller group (irq). This is used by the upcoming
oprofile implementation for avr32 and may also be useful for chained
interrupt controller drivers.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
arch/avr32/mach-at32ap/intc.c