genirq: Force wrapped access to desc->status in core code

Force the usage of wrappers by another nasty CPP substitution.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
Thomas Gleixner
2011-02-09 14:54:49 +01:00
parent 1ccb4e612f
commit f9e4989eb8
3 changed files with 8 additions and 5 deletions

View File

@ -148,3 +148,6 @@ static inline bool irq_settings_is_nested_thread(struct irq_desc *desc)
{
return desc->status & _IRQ_NESTED_THREAD;
}
/* Nothing should touch desc->status from now on */
#define status USE_THE_PROPER_WRAPPERS_YOU_MORON