• Yinghai Lu's avatar
    irq, cpumask: correct CPUMASKS_OFFSTACK typo and fix fallout · 9ec4fa27
    Yinghai Lu authored
    CPUMASKS_OFFSTACK is not defined anywhere (it is CPUMASK_OFFSTACK).
    It is a typo and init_allocate_desc_masks() is called before it set
    affinity to all cpus...
    
    Split init_alloc_desc_masks() into all_desc_masks() and init_desc_masks().
    
    Also use CPUMASK_OFFSTACK in alloc_desc_masks().
    
    [ Impact: fix smp_affinity copying/setup when moving irq_desc between CPUs ]
    Signed-off-by: default avatarYinghai Lu <yinghai@kernel.org>
    Acked-by: default avatarRusty Russell <rusty@rustcorp.com.au>
    Cc: Andrew Morton <akpm@linux-foundation.org>
    Cc: Suresh Siddha <suresh.b.siddha@intel.com>
    Cc: "Eric W. Biederman" <ebiederm@xmission.com>
    LKML-Reference: <49F6546E.3040406@kernel.org>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    9ec4fa27
handle.c 12.8 KB