• Andrew Morton's avatar
    [PATCH] sched: cpu_sibling_map to cpu_mask · 7a1dc0ea
    Andrew Morton authored
    From: Nick Piggin <piggin@cyberone.com.au>
    
    This is a (somewhat) trivial patch which converts cpu_sibling_map from an
    array of CPUs to an array of cpumasks.  Needed for >2 siblings per package,
    but it actually can simplify code as it allows the cpu_sibling_map to be
    set up even when there is 1 sibling per package.  Intel want this, I use it
    in the next patch to build scheduling domains for the P4 HT.
    
    From: Thomas Schlichter <thomas.schlichter@web.de>
    
       Build fix
    
    From: "Pallipadi, Venkatesh" <venkatesh.pallipadi@intel.com>
    
       Fix to handle more than 2 siblings per package.
    7a1dc0ea
smp.h 2.1 KB