[IA64] swiotlb bug fixes
commitcde14bbfb3aa79b479db35bd29e6c083513d8614
authorJan Beulich <jbeulich@novell.com>
Tue, 6 Feb 2007 02:46:40 +0000 (5 18:46 -0800)
committerTony Luck <tony.luck@intel.com>
Tue, 6 Feb 2007 02:46:40 +0000 (5 18:46 -0800)
tree68b2d66d1eee3067051f4a6e4df8ace461bf440f
parent86afa9eb88af2248bcc91d5b3568c63fdea65d6c
[IA64] swiotlb bug fixes

This patch fixes
- marking I-cache clean of pages DMAed to now only done for IA64
- broken multiple inclusion in include/asm-x86_64/swiotlb.h
- missing call to mark_clean in swiotlb_sync_sg()
- a (perhaps only theoretical) issue in swiotlb_dma_supported() when
io_tlb_end is exactly at the end of memory

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/mm/init.c
include/asm-ia64/dma.h
include/asm-x86_64/swiotlb.h
lib/swiotlb.c