• Tejun Heo's avatar
    percpu: move {raw|this}_cpu_*() definitions to include/linux/percpu-defs.h · a32f8d8e
    Tejun Heo authored
    We're in the process of moving all percpu accessors and operations to
    include/linux/percpu-defs.h so that they're available to arch headers
    without having to include full include/linux/percpu.h which may cause
    cyclic inclusion dependency.
    
    This patch moves {raw|this}_cpu_*() definitions from
    include/linux/percpu.h to include/linux/percpu-defs.h.  The code is
    moved mostly verbatim; however, raw_cpu_*() are placed above
    this_cpu_*() which is more conventional as the raw operations may be
    used to defined other variants.
    
    This is pure reorganization.
    Signed-off-by: default avatarTejun Heo <tj@kernel.org>
    Acked-by: default avatarChristoph Lameter <cl@linux.com>
    a32f8d8e
percpu.h 4 KB