diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-02-09 14:54:49 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-02-19 12:58:21 +0100 |
commit | f9e4989eb8183a1f33581fa1b99274287b0639d2 (patch) | |
tree | 3b69372623761448a044a24627ceba973e25c4f1 /kernel/irq/settings.h | |
parent | 1ccb4e612f68ceefb888c2c6c1def6294ea8666d (diff) |
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>
Diffstat (limited to 'kernel/irq/settings.h')
-rw-r--r-- | kernel/irq/settings.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/irq/settings.h b/kernel/irq/settings.h index 216b6f200e7c..47bcd3b9f399 100644 --- a/kernel/irq/settings.h +++ b/kernel/irq/settings.h @@ -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 |