arch: Implement local64_t
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: Peter 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: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
committed by
Ingo Molnar
parent
d57e34fdd6
commit
1996bda2a4
1
arch/sh/include/asm/local64.h
Normal file
1
arch/sh/include/asm/local64.h
Normal file
@@ -0,0 +1 @@
|
||||
#include <asm-generic/local64.h>
|
Reference in New Issue
Block a user