aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/irq/internals.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-02-09 07:16:52 -0500
committerThomas Gleixner <tglx@linutronix.de>2011-02-19 06:58:14 -0500
commite6bea9c404699223322d7411c6f2ceaec02fa83c (patch)
treec006048322aae74b4d60ec2a2a16e1fd941af09b /kernel/irq/internals.h
parentdbec07bac614a61e3392c1e7c08cc6a49ad43f7a (diff)
genirq: Protect tglx from tripping over his own feet
The irq_desc.status field will either go away or renamed to settings. Anyway we need to maintain compatibility to avoid breaking the world and some more. While moving bits into the core, I need to avoid that I use any of the still existing IRQ_ bits in the core code by typos. So that file will hold the inline wrappers and some nasty CPP tricks to break the build when typoed. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/irq/internals.h')
-rw-r--r--kernel/irq/internals.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/irq/internals.h b/kernel/irq/internals.h
index ae96e688f4e1..8f200310a952 100644
--- a/kernel/irq/internals.h
+++ b/kernel/irq/internals.h
@@ -13,6 +13,8 @@
13# define IRQ_BITMAP_BITS NR_IRQS 13# define IRQ_BITMAP_BITS NR_IRQS
14#endif 14#endif
15 15
16#include "settings.h"
17
16#define istate core_internal_state__do_not_mess_with_it 18#define istate core_internal_state__do_not_mess_with_it
17 19
18extern int noirqdebug; 20extern int noirqdebug;