• Rusty Russell's avatar
    [PATCH] Allow struct members inside percpu macros · d3e6935a
    Rusty Russell authored
    The current percpu macros do not allow __get_cpu_var(foo.val1)
    which makes building macros on top of them really difficult.  The
    reason for this is the __per_cpu postfix appended to per-cpu
    variables, designed to catch direct uses.  Prepend it instead.
    d3e6935a
percpu.h 1.22 KB