genirq: Provide a lockdep helper
authorThomas Gleixner <tglx@linutronix.de>
Tue, 22 Mar 2011 16:08:15 +0000 (17:08 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 23 Mar 2011 19:22:06 +0000 (20:22 +0100)
commitd3e17deb1790ee2123e9d11420be6411d1768b47
treeecbfd39ef20da51fc7d5bd8a8b590f45823818f1
parent3b9038912828384e38d82409c281124631c8533b
genirq: Provide a lockdep helper

Some irq chips need to call genirq functions for nested chips from
their callbacks. That upsets lockdep. So they need to set a different
lock class for those nested chips. Provide a helper function to avoid
open access to irq_desc.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/linux/irqdesc.h