The patch titled kernel/irq/manage.c: add raise_threaded_irq() has been removed from the -mm tree. Its filename was kernel-irq-managec-add-raise_threaded_irq.patch This patch was dropped because an updated version will be merged The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: kernel/irq/manage.c: add raise_threaded_irq() From: Christian Pellegrin <chripell@xxxxxxxx> raise_threaded_irq() schedules the execution of an interrupt thread. [akpm@xxxxxxxxxxxxxxxxxxxx: fix comment typo] Signed-off-by: Christian Pellegrin <chripell@xxxxxxxx> Cc: Greg KH <greg@xxxxxxxxx> Cc: Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> Cc: Ingo Molnar <mingo@xxxxxxx> Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx> Cc: Feng Tang <feng.tang@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/linux/interrupt.h | 3 +++ kernel/irq/manage.c | 27 +++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) diff -puN include/linux/interrupt.h~kernel-irq-managec-add-raise_threaded_irq include/linux/interrupt.h --- a/include/linux/interrupt.h~kernel-irq-managec-add-raise_threaded_irq +++ a/include/linux/interrupt.h @@ -168,6 +168,9 @@ request_any_context_irq(unsigned int irq static inline void exit_irq_thread(void) { } #endif +extern int raise_threaded_irq(unsigned int irq); + + extern void free_irq(unsigned int, void *); struct device; diff -puN kernel/irq/manage.c~kernel-irq-managec-add-raise_threaded_irq kernel/irq/manage.c --- a/kernel/irq/manage.c~kernel-irq-managec-add-raise_threaded_irq +++ a/kernel/irq/manage.c @@ -1092,6 +1092,33 @@ int request_threaded_irq(unsigned int ir EXPORT_SYMBOL(request_threaded_irq); /** + * raise_threaded_irq - triggers a threaded interrupt + * @irq: Interrupt line to trigger + */ +int raise_threaded_irq(unsigned int irq) +{ + struct irq_desc *desc = irq_to_desc(irq); + struct irqaction *action; + + if (!desc) + return -ENOENT; + action = desc->action; + if (!action) + return -ENOENT; + if (unlikely(!action->thread_fn)) + return -EINVAL; + if (likely(!test_bit(IRQTF_DIED, + &action->thread_flags))) { + set_bit(IRQTF_RUNTHREAD, &action->thread_flags); + wake_up_process(action->thread); + } else { + return -ECHILD; + } + return 0; +} +EXPORT_SYMBOL(raise_threaded_irq); + +/** * request_any_context_irq - allocate an interrupt line * @irq: Interrupt line to allocate * @handler: Function to be called when the IRQ occurs. _ Patches currently in -mm which might be from chripell@xxxxxxxx are linux-next.patch kernel-irq-managec-add-raise_threaded_irq.patch max3100-move-to-threaded-interrupt.patch max3100-add-console-support-for-max3100.patch max3100-to_max3100_port-small-style-fixes.patch max3100-add-console-support-for-max3100-fixes-for-the-max31x0-console.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html