]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Use generic atomic64 for 32-bit kernels
authorDeng-Cheng Zhu <dengcheng.zhu@gmail.com>
Wed, 9 Jun 2010 04:35:25 +0000 (12:35 +0800)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 4 Oct 2010 17:33:54 +0000 (18:33 +0100)
commitf14d1a38f95a27ea33cdcf2428699e7de35c42a6
tree363e73cd197f0a873322df38bb8ac5dcb8f6541d
parent37a257efb8f95c766c55f26d28c4d9f30329c223
MIPS: Use generic atomic64 for 32-bit kernels

The 64-bit kernel has already had its atomic64 functions. Except for that,
we use the generic spinlocked version. The atomic64 types and related
functions are needed for the Linux performance counter subsystem.

Signed-off-by: Deng-Cheng Zhu <dengcheng.zhu@gmail.com>
To: linux-mips@linux-mips.org
Cc: a.p.zijlstra@chello.nl
Cc: paulus@samba.org
Cc: mingo@elte.hu
Cc: acme@redhat.com
Cc: jamie.iles@picochip.com
Patchwork: https://patchwork.linux-mips.org/patch/1361/
Acked-by: David Daney <ddaney@caviumnetworks.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/Kconfig
arch/mips/include/asm/atomic.h