diff options
author | Roland Dreier <rdreier@cisco.com> | 2009-07-29 15:04:02 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-07-29 19:10:35 -0700 |
commit | 3fc7b4b220c7e830a5b3ce0ea5f85a635e0c50f0 (patch) | |
tree | f30750093bda1a0bd233b025f30891bf4010926d /fs/xfs/xfs_alloc.h | |
parent | e4c6f8bed01f9f9a5c607bd689bf67e7b8a36bd8 (diff) |
lib: export generic atomic64_t functions
The generic atomic64_t implementation in lib/ did not export the functions
it defined, which means that modules that use atomic64_t would not link on
platforms (such as 32-bit powerpc). For example, trying to build a kernel
with CONFIG_NET_RDS on such a platform would fail with:
ERROR: "atomic64_read" [net/rds/rds.ko] undefined!
ERROR: "atomic64_set" [net/rds/rds.ko] undefined!
Fix this by exporting the atomic64_t functions to modules. (I export the
entire API even if it's not all currently used by in-tree modules to avoid
having to continue fixing this in dribs and drabs)
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Acked-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/xfs/xfs_alloc.h')
0 files changed, 0 insertions, 0 deletions