Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=695621183ee10eb22352bb919f50e160fa37aaa1
Commit:     695621183ee10eb22352bb919f50e160fa37aaa1
Parent:     acc9252a36dcefbcdae12f88566300a80d925e11
Author:     Haavard Skinnemoen <[EMAIL PROTECTED]>
AuthorDate: Fri Dec 8 11:04:19 2006 +0100
Committer:  Haavard Skinnemoen <[EMAIL PROTECTED]>
CommitDate: Fri Dec 8 13:08:10 2006 +0100

    [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 <[EMAIL PROTECTED]>
---
 arch/avr32/mach-at32ap/intc.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/arch/avr32/mach-at32ap/intc.c b/arch/avr32/mach-at32ap/intc.c
index eb87a18..dd5c009 100644
--- a/arch/avr32/mach-at32ap/intc.c
+++ b/arch/avr32/mach-at32ap/intc.c
@@ -136,3 +136,7 @@ fail:
        panic("Interrupt controller initialization failed!\n");
 }
 
+unsigned long intc_get_pending(int group)
+{
+       return intc_readl(&intc0, INTREQ0 + 4 * group);
+}
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to