diff options
author | Ahmed S. Darwish <darwish.07@gmail.com> | 2007-10-17 02:30:21 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-17 11:43:00 -0400 |
commit | b4471cbb09c4694e54092d02715c09fda2eb45ed (patch) | |
tree | ceeb36f6052f67838ae6ced8b99bebb9065e03c3 /include | |
parent | 38d090b080a2df56a196c0ee89f6237f0fa47fdf (diff) |
Completely remove deprecated IRQ flags (SA_*)
Only very little files use the deprecated SA_* IRQ flags in latest pull. This
patch series removes such macros from the tree and transfrom old code to the
new IRQF_* flags.
I've grepped the whole tree to make sure that no more files than the patched
ones use such deprecated macros. I hope this series won't introduce build
errors.
Signed-off-by: Ahmed S. Darwish <darwish.07@gmail.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: James Bottomley <James.Bottomley@steeleye.com>
Cc: Matthew Wilcox <willy@debian.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/interrupt.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/include/linux/interrupt.h b/include/linux/interrupt.h index 8e5f289052a2..2306920fa388 100644 --- a/include/linux/interrupt.h +++ b/include/linux/interrupt.h | |||
@@ -55,28 +55,6 @@ | |||
55 | #define IRQF_NOBALANCING 0x00000800 | 55 | #define IRQF_NOBALANCING 0x00000800 |
56 | #define IRQF_IRQPOLL 0x00001000 | 56 | #define IRQF_IRQPOLL 0x00001000 |
57 | 57 | ||
58 | /* | ||
59 | * Migration helpers. Scheduled for removal in 9/2007 | ||
60 | * Do not use for new code ! | ||
61 | */ | ||
62 | static inline | ||
63 | unsigned long __deprecated deprecated_irq_flag(unsigned long flag) | ||
64 | { | ||
65 | return flag; | ||
66 | } | ||
67 | |||
68 | #define SA_INTERRUPT deprecated_irq_flag(IRQF_DISABLED) | ||
69 | #define SA_SAMPLE_RANDOM deprecated_irq_flag(IRQF_SAMPLE_RANDOM) | ||
70 | #define SA_SHIRQ deprecated_irq_flag(IRQF_SHARED) | ||
71 | #define SA_PROBEIRQ deprecated_irq_flag(IRQF_PROBE_SHARED) | ||
72 | #define SA_PERCPU deprecated_irq_flag(IRQF_PERCPU) | ||
73 | |||
74 | #define SA_TRIGGER_LOW deprecated_irq_flag(IRQF_TRIGGER_LOW) | ||
75 | #define SA_TRIGGER_HIGH deprecated_irq_flag(IRQF_TRIGGER_HIGH) | ||
76 | #define SA_TRIGGER_FALLING deprecated_irq_flag(IRQF_TRIGGER_FALLING) | ||
77 | #define SA_TRIGGER_RISING deprecated_irq_flag(IRQF_TRIGGER_RISING) | ||
78 | #define SA_TRIGGER_MASK deprecated_irq_flag(IRQF_TRIGGER_MASK) | ||
79 | |||
80 | typedef irqreturn_t (*irq_handler_t)(int, void *); | 58 | typedef irqreturn_t (*irq_handler_t)(int, void *); |
81 | 59 | ||
82 | struct irqaction { | 60 | struct irqaction { |