From: Luis Henriques Date: Wed, 1 Apr 2009 17:06:35 +0000 (+0100) Subject: genirq: do not execute DEBUG_SHIRQ when irq setup failed X-Git-Tag: v2.6.33-rc1~361^3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ce51c431019310ca03371355a4366c4649fa349;p=pandora-kernel.git genirq: do not execute DEBUG_SHIRQ when irq setup failed When requesting an IRQ, the DEBUG_SHIRQ code executes a fake IRQ just to make sure the driver is ready to receive an IRQ immediately. The problem was that this fake IRQ was being executed even if interrupt line failed to be allocated by __setup_irq. Signed-off-by: Luis Henriques LKML-Reference: <20090401170635.GA4392@hades.domain.com> Signed-off-by: Thomas Gleixner [ fixed bug pointed out by a warning reported by Stephen Rothwell ] Cc: Stephen Rothwell Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed