]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - lib/Kconfig.debug
[PATCH] Debug shared irqs
[net-next-2.6.git] / lib / Kconfig.debug
index 356a5ab8279c397db62fbf20951b8af94b1e9ae8..63f04c15e6f52924c98f91c1281c54cbdcb01ae9 100644 (file)
@@ -77,6 +77,15 @@ config DEBUG_KERNEL
          Say Y here if you are developing drivers or trying to debug and
          identify kernel problems.
 
+config DEBUG_SHIRQ
+       bool "Debug shared IRQ handlers"
+       depends on DEBUG_KERNEL && GENERIC_HARDIRQS
+       help
+         Enable this to generate a spurious interrupt as soon as a shared
+         interrupt handler is registered, and just before one is deregistered.
+         Drivers ought to be able to handle interrupts coming in at those
+         points; some don't and need to be caught.
+
 config LOG_BUF_SHIFT
        int "Kernel log buffer size (16 => 64KB, 17 => 128KB)" if DEBUG_KERNEL
        range 12 21