arch: Implement local64_t
Subsystems (13)
Commit-ID: 1996bda2a42480c275656233e631ee0966574be4 Gitweb: http://git.kernel.org/tip/1996bda2a42480c275656233e631ee0966574be4 Author: Peter Zijlstra <[email protected]> AuthorDate: Fri, 21 May 2010 14:05:13 +0200 Committer: Ingo Molnar <[email protected]> CommitDate: Wed, 9 Jun 2010 11:12:36 +0200
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 <[email protected]>
Cc Andrew Morton <[email protected]>
Cc Linus Torvalds <[email protected]>
LKML-Reference: <new-submission>
Signed-off-by Ingo Molnar <[email protected]>
--- arch/alpha/include/asm/local64.h | 1 + arch/arm/include/asm/local64.h | 1 + arch/avr32/include/asm/local64.h | 1 + arch/blackfin/include/asm/local64.h | 1 + arch/cris/include/asm/local64.h | 1 + arch/frv/include/asm/local64.h | 1 + arch/frv/kernel/local64.h | 1 + arch/h8300/include/asm/local64.h | 1 + arch/ia64/include/asm/local64.h | 1 + arch/m32r/include/asm/local64.h | 1 + arch/m68k/include/asm/local64.h | 1 + arch/microblaze/include/asm/local64.h | 1 + arch/mips/include/asm/local64.h | 1 + arch/mn10300/include/asm/local64.h | 1 + arch/parisc/include/asm/local64.h | 1 + arch/powerpc/include/asm/local64.h | 1 + arch/s390/include/asm/local64.h | 1 + arch/score/include/asm/local64.h | 1 + arch/sh/include/asm/local64.h | 1 + arch/sparc/include/asm/local64.h | 1 + arch/x86/include/asm/local64.h | 1 + arch/xtensa/include/asm/local64.h | 1 + include/asm-generic/local64.h | 96 +++++++++++++++++++++++++++++++++ 23 files changed, 118 insertions(+), 0 deletions(-)
arch/alpha/include/asm/local64.h new file +1 -0
@@ -0,0 +1 @@ +#include <asm-generic/local64.h>
arch/arm/include/asm/local64.h new file +1 -0
@@ -0,0 +1 @@ +#include <asm-generic/local64.h>
arch/avr32/include/asm/local64.h new file +1 -0
@@ -0,0 +1 @@ +#include <asm-generic/local64.h>
arch/blackfin/include/asm/local64.h new file +1 -0
@@ -0,0 +1 @@ +#include <asm-generic/local64.h>
arch/cris/include/asm/local64.h new file +1 -0
@@ -0,0 +1 @@ +#include <asm-generic/local64.h>
arch/frv/include/asm/local64.h new file +1 -0
@@ -0,0 +1 @@ +#include <asm-generic/local64.h>
arch/frv/kernel/local64.h new file +1 -0
@@ -0,0 +1 @@ +#include <asm-generic/local64.h>
arch/h8300/include/asm/local64.h new file +1 -0
@@ -0,0 +1 @@ +#include <asm-generic/local64.h>
arch/ia64/include/asm/local64.h new file +1 -0
@@ -0,0 +1 @@ +#include <asm-generic/local64.h>
arch/m32r/include/asm/local64.h new file +1 -0
@@ -0,0 +1 @@ +#include <asm-generic/local64.h>
arch/m68k/include/asm/local64.h new file +1 -0
@@ -0,0 +1 @@ +#include <asm-generic/local64.h>
arch/microblaze/include/asm/local64.h new file +1 -0
@@ -0,0 +1 @@ +#include <asm-generic/local64.h>
arch/mips/include/asm/local64.h new file +1 -0
@@ -0,0 +1 @@ +#include <asm-generic/local64.h>
arch/mn10300/include/asm/local64.h new file +1 -0
@@ -0,0 +1 @@ +#include <asm-generic/local64.h>
arch/parisc/include/asm/local64.h new file +1 -0
@@ -0,0 +1 @@ +#include <asm-generic/local64.h>
arch/powerpc/include/asm/local64.h new file +1 -0
@@ -0,0 +1 @@ +#include <asm-generic/local64.h>
arch/s390/include/asm/local64.h new file +1 -0
@@ -0,0 +1 @@ +#include <asm-generic/local64.h>
arch/score/include/asm/local64.h new file +1 -0
@@ -0,0 +1 @@ +#include <asm-generic/local64.h>
arch/sh/include/asm/local64.h new file +1 -0
@@ -0,0 +1 @@ +#include <asm-generic/local64.h>
arch/sparc/include/asm/local64.h new file +1 -0
@@ -0,0 +1 @@ +#include <asm-generic/local64.h>
arch/x86/include/asm/local64.h new file +1 -0
@@ -0,0 +1 @@ +#include <asm-generic/local64.h>
arch/xtensa/include/asm/local64.h new file +1 -0
@@ -0,0 +1 @@ +#include <asm-generic/local64.h>
include/asm-generic/local64.h new file +96 -0
96 lines not on this page · raw message