summaryrefslogtreecommitdiffstats
path: root/kernel/irq/internals.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-02-09 13:16:52 +0100
committerThomas Gleixner <tglx@linutronix.de>2011-02-19 12:58:14 +0100
commite6bea9c404699223322d7411c6f2ceaec02fa83c (patch)
treec006048322aae74b4d60ec2a2a16e1fd941af09b /kernel/irq/internals.h
parentgenirq: Add internal state field to irq_desc (diff)
downloadlinux-e6bea9c404699223322d7411c6f2ceaec02fa83c.tar.xz
linux-e6bea9c404699223322d7411c6f2ceaec02fa83c.zip
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 @@
# define IRQ_BITMAP_BITS NR_IRQS
#endif
+#include "settings.h"
+
#define istate core_internal_state__do_not_mess_with_it
extern int noirqdebug;