]> git.karo-electronics.de Git - mv-sheeva.git/commit
irq: provide debug_poll_all_shared_irqs() method under CONFIG_DEBUG_SHIRQ
authorIngo Molnar <mingo@elte.hu>
Fri, 16 Jan 2009 16:43:50 +0000 (17:43 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 16 Jan 2009 16:46:49 +0000 (17:46 +0100)
commit74296a8ed6aa3c5bf672808ada690de7ba323ecc
treebaf9aa0f86e27d33dff0c4d0e33774fe80c908bc
parent5a2dd72abdae75ea2960145e0549635ce4e0be96
irq: provide debug_poll_all_shared_irqs() method under CONFIG_DEBUG_SHIRQ

Provide a shared interrupt debug facility under CONFIG_DEBUG_SHIRQ:
it uses the existing irqpoll facilities to iterate through all
registered interrupt handlers and call those which can handle shared
IRQ lines.

This can be handy for suspend/resume debugging: if we call this function
early during resume we can trigger crashes in those drivers which have
incorrect assumptions about when exactly their ISRs will be called
during suspend/resume.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/interrupt.h
kernel/irq/spurious.c