aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/irq/settings.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/settings.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/settings.h')
-rw-r--r--kernel/irq/settings.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/kernel/irq/settings.h b/kernel/irq/settings.h
new file mode 100644
index 000000000000..610f55597ce7
--- /dev/null
+++ b/kernel/irq/settings.h
@@ -0,0 +1,7 @@
1/*
2 * Internal header to deal with irq_desc->status which will be renamed
3 * to irq_desc->settings.
4 */
5enum {
6 _IRQ_DEFAULT_INIT_FLAGS = IRQ_DEFAULT_INIT_FLAGS,
7};