aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorSteven Rostedt <rostedt@goodmis.org>2009-05-12 14:35:54 -0400
committerThomas Gleixner <tglx@linutronix.de>2009-05-12 16:11:29 -0400
commit39a2eddb9b62959dc55c6978b5eaeb3dd57c5ff2 (patch)
treecef63cdc205079cbdbeafd71998eacb31052b54c /kernel
parent1d80cac0fe44fb87b2a3d35fddd7f534ea81cd90 (diff)
genirq: fix comment to say IRQ_WAKE_THREAD
Trying to implement a driver to use threaded irqs, I was confused when the return value to use that was described in the comment above request_threaded_irq was not defined. Turns out that the enum is IRQ_WAKE_THREAD where as the comment said IRQ_THREAD_WAKE. [Impact: do not confuse developers with wrong comments ] Signed-off-by: Steven Rostedt <rostedt@goodmis.org> LKML-Reference: <alpine.DEB.2.00.0905121431020.13338@gandalf.stny.rr.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/irq/manage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c
index 2734eca59243..eb47f8b80557 100644
--- a/kernel/irq/manage.c
+++ b/kernel/irq/manage.c
@@ -851,7 +851,7 @@ EXPORT_SYMBOL(free_irq);
851 * still called in hard interrupt context and has to check 851 * still called in hard interrupt context and has to check
852 * whether the interrupt originates from the device. If yes it 852 * whether the interrupt originates from the device. If yes it
853 * needs to disable the interrupt on the device and return 853 * needs to disable the interrupt on the device and return
854 * IRQ_THREAD_WAKE which will wake up the handler thread and run 854 * IRQ_WAKE_THREAD which will wake up the handler thread and run
855 * @thread_fn. This split handler design is necessary to support 855 * @thread_fn. This split handler design is necessary to support
856 * shared interrupts. 856 * shared interrupts.
857 * 857 *