summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2009-03-13 14:34:05 +0100
committerThomas Gleixner <tglx@linutronix.de>2009-03-13 16:34:02 +0100
commit0e57aa11abb15b70db53d1f95ae70b3c980ac885 (patch)
tree9e4c9fabfcaa095eba1e50252e341aa749c6e607 /kernel
parenta9d0a1a38352c4fb8946e73b3e42ba4ada29e733 (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>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/irq/handle.c5
1 files changed, 5 insertions, 0 deletions
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)
}
#ifndef CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ
+
+#ifdef CONFIG_ENABLE_WARN_DEPRECATED
+# warning __do_IRQ is deprecated. Please convert to proper flow handlers
+#endif
+
/**
* __do_IRQ - original all in one highlevel IRQ handler
* @irq: the interrupt number