x86, ia64: remove duplicated swiotlb code
commitf98eee8ea99fe74ee9c4e867ba178ec3072793be
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Mon, 5 Jan 2009 14:59:03 +0000 (5 23:59 +0900)
committerIngo Molnar <mingo@elte.hu>
Tue, 6 Jan 2009 13:06:58 +0000 (6 14:06 +0100)
tree67843fb8a25630dfdaaac8471423a9682cb0c390
parent160c1d8e40866edfeae7d68816b7005d70acf391
x86, ia64: remove duplicated swiotlb code

This adds swiotlb_map_page and swiotlb_unmap_page to lib/swiotlb.c and
remove IA64 and X86's swiotlb_map_page and swiotlb_unmap_page.

This also removes unnecessary swiotlb_map_single, swiotlb_map_single_attrs,
swiotlb_unmap_single and swiotlb_unmap_single_attrs.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Acked-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/ia64/kernel/pci-swiotlb.c
arch/x86/kernel/pci-swiotlb_64.c
include/linux/swiotlb.h
lib/swiotlb.c