genirq: Add internal state field to irq_desc
authorThomas Gleixner <tglx@linutronix.de>
Mon, 7 Feb 2011 19:19:55 +0000 (20:19 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 19 Feb 2011 11:58:14 +0000 (12:58 +0100)
commitdbec07bac614a61e3392c1e7c08cc6a49ad43f7a
treedf584e74c8b2fcbe10cce70fd910b4482093fe9a
parent35e857cbeb24e75c6f9a9312ac30454eee8c5950
genirq: Add internal state field to irq_desc

That field will contain internal state information which is not going
to be exposed to anything outside the core code - except via accessor
functions. I'm tired of everyone fiddling in irq_desc.status.

core_internal_state__do_not_mess_with_it is clear enough, annoying to
type and easy to grep for. Offenders will be tracked down and slapped
with stinking trouts.

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