• Andrew Morton's avatar
    [PATCH] Use for_each_cpu() Where It's Meant To Be · 012061cc
    Andrew Morton authored
    From: Rusty Russell <rusty@rustcorp.com.au>
    
    Some places use cpu_online() where they should be using cpu_possible, most
    commonly for tallying statistics.  This makes no difference without hotplug
    CPU.
    
    Use the for_each_cpu() macro in those places, providing good examples (and
    making the external hotplug CPU patch smaller).
    
    Some places use cpu_online() where they should be using cpu_possible, most
    commonly for tallying statistics.  This makes no difference without hotplug
    CPU.
    
    Use the for_each_cpu() macro in those places, providing good examples (and
    making the external hotplug CPU patch smaller).
    012061cc
proc_misc.c 18.5 KB