Re: [PATCH] irq: correct CPUMASKS_OFFSTACK typo -v2

From: Rusty Russell
Date: Sat Mar 28 2009 - 22:06:55 EST


On Sunday 29 March 2009 06:39:37 Yinghai Lu wrote:
>
> Impact: fix smp_affinity copying when moving irq_desc
>
> CPUMASKS_OFFSTACK is not defined anywhere. it is a typo
> and init_allocate_desc_masks called before it set affinity to all cpus...
>
> split init_alloc_desc_masks() into all_desc_masks() and init_desc_masks()
> so in the init_copy_desc_masks could use CPUMASK_OFFSTACK there.
> aka copy path will not calling init_desc_masks anymore.

Thankyou, this code is nicer than what was there before.

Thanks!
Rusty.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/