x86: remove ifdef CONFIG_SWIOTLB in pci-dma.c
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Fri, 11 Jul 2008 01:23:45 +0000 (10:23 +0900)
committerIngo Molnar <mingo@elte.hu>
Fri, 11 Jul 2008 09:00:55 +0000 (11:00 +0200)
commitbe54f9d1c8df93c4998e134a306652caaa58f67f
tree77cea9b5623518dc41cb9509fd6d933068da6945
parentb8b48326f312026af12799917383c54c25d05482
x86: remove ifdef CONFIG_SWIOTLB in pci-dma.c

As other IOMMUs do, this puts dummy pci_swiotlb_init() in swiotlb.h
and remove ifdef CONFIG_SWIOTLB in pci-dma.c.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Acked-by: Muli Ben-Yehuda <muli@il.ibm.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/pci-dma.c
include/asm-x86/swiotlb.h