• Peter Zijlstra's avatar
    arch: Implement local64_t · 1996bda2
    Peter Zijlstra authored
    On 64bit, local_t is of size long, and thus we make local64_t an alias.
    On 32bit, we fall back to atomic64_t. (architecture can provide optimized
    32-bit version)
    (This new facility is to be used by perf events optimizations.)
    Signed-off-by: default avatarPeter Zijlstra <a.p.zijlstra@chello.nl>
    Cc: linux-arch@vger.kernel.org
    Cc: Andrew Morton <akpm@linux-foundation.org>
    Cc: Linus Torvalds <torvalds@linux-foundation.org>
    LKML-Reference: <new-submission>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
local64.h 33 Bytes