lkml.org 
[lkml]   [2009]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] x86: reget cfg_new in case reuse/move irq_desc

* Yinghai Lu <yinghai@kernel.org> wrote:

> when irq_desc is moved, we need to make sure to use right cfg_new
>
> Signed-off-by: Yinghai Lu <yinghai@kernel.org>
>
> ---
> arch/x86/kernel/apic/io_apic.c | 1 +
> 1 file changed, 1 insertion(+)
>
> Index: linux-2.6/arch/x86/kernel/apic/io_apic.c
> ===================================================================
> --- linux-2.6.orig/arch/x86/kernel/apic/io_apic.c
> +++ linux-2.6/arch/x86/kernel/apic/io_apic.c
> @@ -3153,6 +3153,7 @@ unsigned int create_irq_nr(unsigned int
> continue;
>
> desc_new = move_irq_desc(desc_new, node);
> + cfg_new = desc_new->chip_data;
>

i suspect we need this for .31? Did you see any actual bug due to
this? (if yes, how did it look like?)

Ingo


\
 
 \ /
  Last update: 2009-08-08 17:05    [W:0.084 / U:0.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site