diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2009-03-13 09:34:05 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2009-03-13 11:34:02 -0400 |
commit | 0e57aa11abb15b70db53d1f95ae70b3c980ac885 (patch) | |
tree | 9e4c9fabfcaa095eba1e50252e341aa749c6e607 | |
parent | a9d0a1a38352c4fb8946e73b3e42ba4ada29e733 (diff) |
genirq: deprecate __do_IRQ
Two years migration time is enough. Remove the compability cruft.
Add the deprecated warning in kernel/irq/handle.c because marking
__do_IRQ itself is way too noisy.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r-- | Documentation/feature-removal-schedule.txt | 8 | ||||
-rw-r--r-- | kernel/irq/handle.c | 5 |
2 files changed, 13 insertions, 0 deletions
diff --git a/Documentation/feature-removal-schedule.txt b/Documentation/feature-removal-schedule.txt index 20d3b94703a4..63b4550411be 100644 --- a/Documentation/feature-removal-schedule.txt +++ b/Documentation/feature-removal-schedule.txt | |||
@@ -344,3 +344,11 @@ Why: See commits 129f8ae9b1b5be94517da76009ea956e89104ce8 and | |||
344 | Removal is subject to fixing any remaining bugs in ACPI which may | 344 | Removal is subject to fixing any remaining bugs in ACPI which may |
345 | cause the thermal throttling not to happen at the right time. | 345 | cause the thermal throttling not to happen at the right time. |
346 | Who: Dave Jones <davej@redhat.com>, Matthew Garrett <mjg@redhat.com> | 346 | Who: Dave Jones <davej@redhat.com>, Matthew Garrett <mjg@redhat.com> |
347 | |||
348 | ----------------------------- | ||
349 | |||
350 | What: __do_IRQ all in one fits nothing interrupt handler | ||
351 | When: 2.6.32 | ||
352 | Why: __do_IRQ was kept for easy migration to the type flow handlers. | ||
353 | More than two years of migration time is enough. | ||
354 | Who: Thomas Gleixner <tglx@linutronix.de> | ||
diff --git a/kernel/irq/handle.c b/kernel/irq/handle.c index a2ee682bca2e..6661704140c7 100644 --- a/kernel/irq/handle.c +++ b/kernel/irq/handle.c | |||
@@ -349,6 +349,11 @@ irqreturn_t handle_IRQ_event(unsigned int irq, struct irqaction *action) | |||
349 | } | 349 | } |
350 | 350 | ||
351 | #ifndef CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ | 351 | #ifndef CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ |
352 | |||
353 | #ifdef CONFIG_ENABLE_WARN_DEPRECATED | ||
354 | # warning __do_IRQ is deprecated. Please convert to proper flow handlers | ||
355 | #endif | ||
356 | |||
352 | /** | 357 | /** |
353 | * __do_IRQ - original all in one highlevel IRQ handler | 358 | * __do_IRQ - original all in one highlevel IRQ handler |
354 | * @irq: the interrupt number | 359 | * @irq: the interrupt number |