summaryrefslogtreecommitdiffstats
path: root/arch/avr32/include
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2010-05-21 14:05:13 +0200
committerIngo Molnar <mingo@elte.hu>2010-06-09 11:12:36 +0200
commit1996bda2a42480c275656233e631ee0966574be4 (patch)
treec4c61b6bde252d3d6f1dc0b62d48cf3a3e486ec1 /arch/avr32/include
parentd57e34fdd60be7ffd0b1d86bfa1a553df86b7172 (diff)
downloadop-kernel-dev-1996bda2a42480c275656233e631ee0966574be4.zip
op-kernel-dev-1996bda2a42480c275656233e631ee0966574be4.tar.gz
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>
Diffstat (limited to 'arch/avr32/include')
-rw-r--r--arch/avr32/include/asm/local64.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/avr32/include/asm/local64.h b/arch/avr32/include/asm/local64.h
new file mode 100644
index 0000000..36c93b5
--- /dev/null
+++ b/arch/avr32/include/asm/local64.h
@@ -0,0 +1 @@
+#include <asm-generic/local64.h>
OpenPOWER on IntegriCloud