x86: atomic64: Export APIs to modules
authorIngo Molnar <mingo@elte.hu>
Fri, 3 Jul 2009 15:28:57 +0000 (17:28 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 3 Jul 2009 18:23:52 +0000 (20:23 +0200)
commit1fde902d52ee13ab9fab155bbae757fdf7daf0c1
tree79051f92959ab31aa26d0b13a8cb2b931e77b34a
parent67d7178f8fc64b7f68d7dd8a1b21dfa0d42c220c
x86: atomic64: Export APIs to modules

atomic64_t primitives are used by a handful of drivers,
so export the APIs consistently. These were inlined
before.

Also mark atomic64_32.o a core object, so that the symbols
are available even if not linked to core kernel pieces.

Cc: Eric Dumazet <eric.dumazet@gmail.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: David Howells <dhowells@redhat.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Arnd Bergmann <arnd@arndb.de>
LKML-Reference: <tip-05118ab8859492ac9ddda0154cf90e37b0a4a0b0@git.kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/lib/Makefile
arch/x86/lib/atomic64_32.c