genirq: Implement irq_get/put_desc_[bus]locked/unlock()
authorThomas Gleixner <tglx@linutronix.de>
Sat, 12 Feb 2011 11:16:16 +0000 (12:16 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 19 Feb 2011 11:58:23 +0000 (12:58 +0100)
commitd5eb4ad2dfb2dfae43fd51bc8630b4fc3ef00e92
treeec164ed62dd55d14e0f73e1ba6f894433f70394e
parent091738a266fc74329ae186f22ff2b3f01319112d
genirq: Implement irq_get/put_desc_[bus]locked/unlock()

Most of the managing functions get the irq descriptor and lock it -
either with or without buslock. Instead of open coding this over and
over provide a common function to do that.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/irq/internals.h
kernel/irq/irqdesc.c