diff options
-rw-r--r-- | Documentation/feature-removal-schedule.txt | 2 | ||||
-rw-r--r-- | include/linux/interrupt.h | 30 |
2 files changed, 19 insertions, 13 deletions
diff --git a/Documentation/feature-removal-schedule.txt b/Documentation/feature-removal-schedule.txt index a67d617429c7..5a1f0319add1 100644 --- a/Documentation/feature-removal-schedule.txt +++ b/Documentation/feature-removal-schedule.txt | |||
@@ -156,7 +156,7 @@ Who: Greg Kroah-Hartman <gregkh@suse.de> | |||
156 | --------------------------- | 156 | --------------------------- |
157 | 157 | ||
158 | What: Interrupt only SA_* flags | 158 | What: Interrupt only SA_* flags |
159 | When: Januar 2007 | 159 | When: September 2007 |
160 | Why: The interrupt related SA_* flags are replaced by IRQF_* to move them | 160 | Why: The interrupt related SA_* flags are replaced by IRQF_* to move them |
161 | out of the signal namespace. | 161 | out of the signal namespace. |
162 | 162 | ||
diff --git a/include/linux/interrupt.h b/include/linux/interrupt.h index 2067a7ef6e62..80e63d8e9b15 100644 --- a/include/linux/interrupt.h +++ b/include/linux/interrupt.h | |||
@@ -54,20 +54,26 @@ | |||
54 | #define IRQF_NOBALANCING 0x00000800 | 54 | #define IRQF_NOBALANCING 0x00000800 |
55 | 55 | ||
56 | /* | 56 | /* |
57 | * Migration helpers. Scheduled for removal in 1/2007 | 57 | * Migration helpers. Scheduled for removal in 9/2007 |
58 | * Do not use for new code ! | 58 | * Do not use for new code ! |
59 | */ | 59 | */ |
60 | #define SA_INTERRUPT IRQF_DISABLED | 60 | static inline |
61 | #define SA_SAMPLE_RANDOM IRQF_SAMPLE_RANDOM | 61 | unsigned long __deprecated deprecated_irq_flag(unsigned long flag) |
62 | #define SA_SHIRQ IRQF_SHARED | 62 | { |
63 | #define SA_PROBEIRQ IRQF_PROBE_SHARED | 63 | return flag; |
64 | #define SA_PERCPU IRQF_PERCPU | 64 | } |
65 | 65 | ||
66 | #define SA_TRIGGER_LOW IRQF_TRIGGER_LOW | 66 | #define SA_INTERRUPT deprecated_irq_flag(IRQF_DISABLED) |
67 | #define SA_TRIGGER_HIGH IRQF_TRIGGER_HIGH | 67 | #define SA_SAMPLE_RANDOM deprecated_irq_flag(IRQF_SAMPLE_RANDOM) |
68 | #define SA_TRIGGER_FALLING IRQF_TRIGGER_FALLING | 68 | #define SA_SHIRQ deprecated_irq_flag(IRQF_SHARED) |
69 | #define SA_TRIGGER_RISING IRQF_TRIGGER_RISING | 69 | #define SA_PROBEIRQ deprecated_irq_flag(IRQF_PROBE_SHARED) |
70 | #define SA_TRIGGER_MASK IRQF_TRIGGER_MASK | 70 | #define SA_PERCPU deprecated_irq_flag(IRQF_PERCPU) |
71 | |||
72 | #define SA_TRIGGER_LOW deprecated_irq_flag(IRQF_TRIGGER_LOW) | ||
73 | #define SA_TRIGGER_HIGH deprecated_irq_flag(IRQF_TRIGGER_HIGH) | ||
74 | #define SA_TRIGGER_FALLING deprecated_irq_flag(IRQF_TRIGGER_FALLING) | ||
75 | #define SA_TRIGGER_RISING deprecated_irq_flag(IRQF_TRIGGER_RISING) | ||
76 | #define SA_TRIGGER_MASK deprecated_irq_flag(IRQF_TRIGGER_MASK) | ||
71 | 77 | ||
72 | typedef irqreturn_t (*irq_handler_t)(int, void *); | 78 | typedef irqreturn_t (*irq_handler_t)(int, void *); |
73 | 79 | ||