• Andrew Morton's avatar
    [PATCH] detect uninitialised per-cpu storage · 62fb568f
    Andrew Morton authored
    So poor old Dave spent days hunting down memory corruption because the
    `kstat' per-cpu storage is not initialised (it needs to be, it's a workaround
    for ancient gcc's).
    
    The same problem had me hunting for a day too.
    
    This patch, based on an initial version from Rusty will
    parse System.map at final link and will fail the build if
    any per-cpu symbols are found to be not in the percpu section.
    62fb568f
per-cpu-check.awk 227 Bytes