x86, swiotlb: add map_page and unmap_page
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Mon, 5 Jan 2009 14:47:22 +0000 (23:47 +0900)
committerIngo Molnar <mingo@elte.hu>
Tue, 6 Jan 2009 13:06:53 +0000 (14:06 +0100)
commit4cf37bb7d9dc6dfb5d5fca7f735ba65ba173dabc
tree4dae64c91d46b0ab10aced696fb20b2031aba5de
parentabe6602bf197167efb3b37161b9c11748fa076e1
x86, swiotlb: add map_page and unmap_page

This is a preparation of struct dma_mapping_ops unification. We use
map_page and unmap_page instead of map_single and unmap_single.

This is sorta temporary workaround. We will move them to lib/swiotlb.c
to enable x86's swiotlb code to directly use them.

We will remove map_single and unmap_single hooks in the last patch in
this patchset.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/pci-swiotlb_64.c