From: Thomas Gleixner Date: Mon, 4 Apr 2011 12:29:58 +0000 (+0200) Subject: ARM: mxc: Add missing lockdep annotation X-Git-Tag: v2.6.39-rc6~9^2~7^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b5eee2fdefc89df312034e5e0e6f5dd55c4e9bae;p=pandora-kernel.git ARM: mxc: Add missing lockdep annotation The irq_set_wake() function of the gpio irq_chip calls enable/disable_irq_wake() on the demultiplex interrupt. That leads to a lockdep warning "INFO: possible recursive locking detected" because irq_set_type() is called under irq_desc->lock and the *_irq_wake() calls take irq_desc->lock of the demux interrupt. Tell lockdep that the gpio irqs are in a different lock class. Documentation/SubmitChecklist: 15: All codepaths have been exercised with all lockdep features enabled. That's a non-optional requirement, AFAICT. Reported-and-tested-by: Arnaud Patard Signed-off-by: Thomas Gleixner LAKML-Reference: alpine.LFD.2.00.1104041416290.19945@localhost6.localdomain6 Signed-off-by: Uwe Kleine-König Signed-off-by: Sascha Hauer --- Reading git-diff-tree failed