diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-02-09 13:16:52 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-02-19 12:58:14 +0100 |
commit | e6bea9c404699223322d7411c6f2ceaec02fa83c (patch) | |
tree | c006048322aae74b4d60ec2a2a16e1fd941af09b /kernel/irq/settings.h | |
parent | genirq: Add internal state field to irq_desc (diff) | |
download | linux-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 '')
-rw-r--r-- | kernel/irq/settings.h | 7 |
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 @@ +/* + * Internal header to deal with irq_desc->status which will be renamed + * to irq_desc->settings. + */ +enum { + _IRQ_DEFAULT_INIT_FLAGS = IRQ_DEFAULT_INIT_FLAGS, +}; |