lkml.org 
[lkml]   [2012]   [Feb]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 5/5] genirq: Mark IRQ thread handlers with irq_thread flag
Hi Thomas!

Self-NAK on this patch. This hunk is reported wrong..

> --- a/kernel/exit.c
> +++ b/kernel/exit.c
> @@ -896,7 +896,7 @@ void do_exit(long code)
>
> WARN_ON(blk_needs_flush_plug(tsk));
>
> - if (unlikely(in_interrupt()))
> + if (unlikely(!tsk->irq_thread && in_interrupt()))
> panic("Aiee, killing interrupt handler!");
> if (unlikely(!tsk->pid))
> panic("Attempted to kill the idle task!");

--
Regards,
Alexander Gordeev
agordeev@redhat.com


\
 
 \ /
  Last update: 2012-02-23 18:11    [W:0.029 / U:16.576 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site