[PATCH] ia64: re-implement dma_get_cache_alignment to avoid EXPORT_SYMBOL
commite1531b4218a7ccfc1b2234b87105201e5ebe1bbf
authorJohn W. Linville <linville@tuxdriver.com>
Mon, 7 Nov 2005 08:57:54 +0000 (7 00:57 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 7 Nov 2005 15:53:23 +0000 (7 07:53 -0800)
tree7bec90da745d4992d53a31339588f945d70c319c
parent4ecc65e423ef10bdbec12362609b15fa8e8627c8
[PATCH] ia64: re-implement dma_get_cache_alignment to avoid EXPORT_SYMBOL

The current ia64 implementation of dma_get_cache_alignment does not work
for modules because it relies on a symbol which is not exported.  Direct
access to a global is a little ugly anyway, so this patch re-implements
dma_get_cache_alignment in a manner similar to what is currently used for
x86_64.

Signed-off-by: John W. Linville <linville@tuxdriver.com>
Cc: "Luck, Tony" <tony.luck@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/ia64/kernel/setup.c
include/asm-ia64/dma-mapping.h